home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: HyperCard Stack
(archive/hypercard).
You can browse this item here: Macintosh Education Guides_C
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 6e 00 53 54 41 4b | ff ff ff ff 3c f5 81 65 |..n.STAK|....<..e|
|00000010| 00 00 00 0a 00 18 80 00 | 00 00 6e 00 00 00 00 00 |........|..n.....|
|00000020| 00 00 00 06 00 00 00 04 | 00 00 0a 52 00 00 02 99 |........|...R....|
|00000030| 00 00 2d 17 00 02 37 b1 | 00 00 00 03 00 00 0c 40 |..-...7.|.......@|
|00000040| 00 00 1c d1 00 00 00 00 | 00 05 00 00 90 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 00 80 00 02 01 80 00 | 02 01 80 00 02 01 80 00 |........|........|
|00000070| 20 63 5a 0c 00 00 00 02 | 00 00 00 00 01 e0 02 80 | cZ.....|........|
|00000080| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d 9f 00 00 0c c3 | 01 e0 02 80 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 7c 00 00 00 07 60 | 00 18 6f 80 00 00 00 60 |..|....`|..o....`|
|00000410| 00 18 72 00 00 00 04 80 | 00 00 00 00 00 00 00 00 |..r.....|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 2d 2d 20 a9 20 31 39 38 | 39 2d 31 39 39 31 20 53 |-- . 198|9-1991 S|
|00000610| 61 66 69 72 65 20 53 6f | 66 74 77 61 72 65 2c 20 |afire So|ftware, |
|00000620| 49 6e 63 2e 2c 20 65 78 | 63 65 70 74 20 61 73 20 |Inc., ex|cept as |
|00000630| 6e 6f 74 65 64 2e 0d 0d | 2d 2d 20 45 78 74 65 72 |noted...|-- Exter|
|00000640| 6e 61 6c 73 3a 20 28 41 | 6c 6c 20 72 69 67 68 74 |nals: (A|ll right|
|00000650| 73 20 72 65 73 65 72 76 | 65 64 29 0d 0d 2d 2d 20 |s reserv|ed)..-- |
|00000660| a9 20 53 61 66 69 72 65 | 20 53 6f 66 74 77 61 72 |. Safire| Softwar|
|00000670| 65 2c 20 49 6e 63 2e 3a | 20 6a 6a 66 6c 75 73 68 |e, Inc.:| jjflush|
|00000680| 2c 20 6a 6a 73 65 74 76 | 6f 6c 2c 20 6d 61 6b 65 |, jjsetv|ol, make|
|00000690| 4c 69 73 74 2c 20 69 64 | 73 54 6f 4e 61 6d 65 73 |List, id|sToNames|
|000006a0| 0d 2d 2d 20 a9 20 41 70 | 70 6c 65 20 43 6f 6d 70 |.-- . Ap|ple Comp|
|000006b0| 75 74 65 72 2c 20 49 6e | 63 2e 3a 0d 2d 2d 20 20 |uter, In|c.:.-- |
|000006c0| 20 20 20 28 62 79 20 45 | 72 69 63 20 43 61 72 6c | (by E|ric Carl|
|000006d0| 73 6f 6e 20 66 6f 72 20 | 53 75 70 70 6f 72 74 20 |son for |Support |
|000006e0| 54 6f 6f 6c 73 20 47 72 | 6f 75 70 29 3a 20 54 6f |Tools Gr|oup): To|
|000006f0| 74 61 6c 52 41 4d 2c 20 | 4d 46 69 73 41 63 74 69 |talRAM, |MFisActi|
|00000700| 76 65 0d 2d 2d 20 20 20 | 20 20 4f 70 65 6e 46 69 |ve.-- | OpenFi|
|00000710| 6c 65 73 2c 20 53 79 73 | 74 65 6d 50 61 74 68 2c |les, Sys|temPath,|
|00000720| 20 4c 6f 63 61 6c 56 6f | 6c 75 6d 65 6c 69 73 74 | LocalVo|lumelist|
|00000730| 2c 20 41 70 70 6c 6d 65 | 6d 6f 72 79 2c 20 4e 65 |, Applme|mory, Ne|
|00000740| 77 46 6f 6c 64 65 72 0d | 2d 2d 20 20 20 20 20 28 |wFolder.|-- (|
|00000750| 62 79 20 43 68 72 69 73 | 20 4b 6e 65 70 70 65 72 |by Chris| Knepper|
|00000760| 20 66 6f 72 20 44 54 53 | 29 3a 20 53 79 73 45 6e | for DTS|): SysEn|
|00000770| 76 0d 2d 2d 20 a9 20 52 | 61 6e 64 61 6c 20 4a 6f |v.-- . R|andal Jo|
|00000780| 6e 65 73 3a 20 72 75 6e | 42 75 62 62 6c 65 48 65 |nes: run|BubbleHe|
|00000790| 6c 70 2c 63 6c 69 63 6b | 4d 6f 64 65 42 75 62 62 |lp,click|ModeBubb|
|000007a0| 6c 65 48 65 6c 70 2c 78 | 45 76 61 6c 2c 69 74 65 |leHelp,x|Eval,ite|
|000007b0| 6d 42 61 73 65 0d 2d 2d | 20 a9 20 4d 69 63 72 6f |mBase.--| . Micro|
|000007c0| 74 6f 75 63 68 20 53 79 | 73 74 65 6d 73 3a 20 4d |touch Sy|stems: M|
|000007d0| 61 63 5f 4e 5f 54 6f 75 | 63 68 0d 2d 2d 20 a9 20 |ac_N_Tou|ch.-- . |
|000007e0| 4d 61 63 72 6f 6d 69 6e | 64 3a 20 50 6c 61 79 4d |Macromin|d: PlayM|
|000007f0| 6f 76 69 65 2c 20 53 65 | 74 53 63 72 65 65 6e 4d |ovie, Se|tScreenM|
|00000800| 6f 76 69 65 0d 2d 2d 20 | a9 20 47 75 79 20 64 65 |ovie.-- |. Guy de|
|00000810| 20 50 69 63 63 69 6f 74 | 6f 3a 20 4e 65 77 46 6f | Picciot|o: NewFo|
|00000820| 6c 64 65 72 0d 2d 2d 20 | a9 20 52 75 62 65 6e 20 |lder.-- |. Ruben |
|00000830| 50 69 6e 63 68 61 6e 73 | 6b 69 3a 20 50 61 69 6e |Pinchans|ki: Pain|
|00000840| 74 50 49 43 54 0d 0d a5 | a5 20 53 79 73 74 65 6d |tPICT...|. System|
|00000850| 20 a5 a5 20 31 33 22 0d | 0d 6f 6e 20 63 6c 6f 73 | .. 13".|.on clos|
|00000860| 65 53 74 61 63 6b 0d 63 | 6c 6f 73 65 55 70 0d 69 |eStack.c|loseUp.i|
|00000870| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00000880| 20 6f 66 20 6d 65 20 63 | 6f 6e 74 61 69 6e 73 20 | of me c|ontains |
|00000890| 22 62 65 74 61 22 20 74 | 68 65 6e 20 62 75 67 52 |"beta" t|hen bugR|
|000008a0| 65 70 6f 72 74 0d 2d 2d | 20 69 66 20 74 68 65 20 |eport.--| if the |
|000008b0| 63 61 6e 74 4d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantModi|fy of th|
|000008c0| 69 73 20 73 74 61 63 6b | 20 74 68 65 6e 20 73 65 |is stack| then se|
|000008d0| 6e 64 20 22 73 61 76 65 | 50 72 65 66 73 22 20 74 |nd "save|Prefs" t|
|000008e0| 6f 20 63 64 20 69 64 20 | 34 35 37 34 38 20 2d 2d |o cd id |45748 --|
|000008f0| 70 72 65 66 73 20 63 64 | 0d 70 75 74 20 22 62 65 |prefs cd|.put "be|
|00000900| 67 69 6e 2c 62 6f 74 62 | 61 72 2c 6d 69 64 62 61 |gin,botb|ar,midba|
|00000910| 72 2c 74 6f 70 62 61 72 | 2c 63 6f 6c 6f 72 2c 63 |r,topbar|,color,c|
|00000920| 75 72 50 6f 73 2c 6e 6f | 47 72 61 64 65 2c 70 61 |urPos,no|Grade,pa|
|00000930| 6c 50 6f 73 2c 73 61 66 | 4e 61 76 2c 74 68 65 42 |lPos,saf|Nav,theB|
|00000940| 65 67 69 6e 43 61 72 64 | 2c 74 68 65 42 65 67 69 |eginCard|,theBegi|
|00000950| 6e 43 64 2c 74 68 65 43 | 61 6e 74 4d 6f 64 69 66 |nCd,theC|antModif|
|00000960| 79 2c 74 68 65 43 75 72 | 54 49 6d 65 2c 74 68 65 |y,theCur|TIme,the|
|00000970| 44 65 6d 6f 41 70 70 2c | 74 68 65 45 72 72 6f 72 |DemoApp,|theError|
|00000980| 73 2c 74 68 65 46 43 61 | 6e 74 4d 6f 64 2c 74 68 |s,theFCa|ntMod,th|
|00000990| 65 46 44 65 6d 6f 22 c2 | 0d 26 22 2c 74 68 65 46 |eFDemo".|.&",theF|
|000009a0| 4c 6f 77 4d 65 6d 2c 74 | 68 65 46 4d 6f 76 69 65 |LowMem,t|heFMovie|
|000009b0| 53 6f 75 6e 64 2c 74 68 | 65 46 6d 61 73 6b 47 72 |Sound,th|eFmaskGr|
|000009c0| 61 64 65 2c 74 68 65 46 | 6e 64 49 44 73 2c 74 68 |ade,theF|ndIDs,th|
|000009d0| 65 46 6e 64 4e 6d 73 2c | 74 68 65 46 4e 65 77 53 |eFndNms,|theFNewS|
|000009e0| 65 61 72 63 68 2c 74 68 | 65 46 50 72 69 6e 74 69 |earch,th|eFPrinti|
|000009f0| 6e 67 2c 74 68 65 46 51 | 75 69 74 74 69 6e 67 2c |ng,theFQ|uitting,|
|00000a00| 74 68 65 46 53 6f 75 6e | 64 2c 74 68 65 46 54 6f |theFSoun|d,theFTo|
|00000a10| 75 63 68 53 63 72 65 65 | 6e 2c 74 68 65 47 72 61 |uchScree|n,theGra|
|00000a20| 64 65 49 44 73 2c 74 68 | 65 47 72 61 64 65 52 65 |deIDs,th|eGradeRe|
|00000a30| 66 73 2c 74 68 65 47 72 | 61 64 65 73 22 c2 0d 26 |fs,theGr|ades"..&|
|00000a40| 22 2c 74 68 65 4b 65 79 | 43 6f 6e 73 2c 74 68 65 |",theKey|Cons,the|
|00000a50| 4b 65 79 49 44 73 2c 74 | 68 65 4b 65 79 52 65 66 |KeyIDs,t|heKeyRef|
|00000a60| 73 2c 74 68 65 4b 65 79 | 73 2c 74 68 65 4d 6f 76 |s,theKey|s,theMov|
|00000a70| 69 65 2c 74 68 65 50 75 | 62 49 44 73 2c 74 68 65 |ie,thePu|bIDs,the|
|00000a80| 50 75 62 52 65 66 73 2c | 74 68 65 50 75 62 73 2c |PubRefs,|thePubs,|
|00000a90| 74 68 65 52 65 71 49 44 | 73 2c 74 68 65 52 65 71 |theReqID|s,theReq|
|00000aa0| 52 65 66 73 2c 74 68 65 | 52 65 71 73 2c 74 68 65 |Refs,the|Reqs,the|
|00000ab0| 53 6f 75 6e 64 4c 65 76 | 65 6c 2c 74 68 65 53 74 |SoundLev|el,theSt|
|00000ac0| 61 72 74 43 61 72 64 22 | c2 0d 26 22 2c 74 68 65 |artCard"|..&",the|
|00000ad0| 54 69 6d 65 6f 75 74 2c | 74 68 65 54 6f 70 69 63 |Timeout,|theTopic|
|00000ae0| 49 44 73 2c 74 68 65 54 | 6f 70 69 63 52 65 66 73 |IDs,theT|opicRefs|
|00000af0| 2c 74 68 65 54 6f 70 69 | 63 73 2c 74 68 65 57 6f |,theTopi|cs,theWo|
|00000b00| 72 64 43 6f 6e 73 2c 74 | 68 65 57 6f 72 64 49 44 |rdCons,t|heWordID|
|00000b10| 73 2c 74 68 65 57 6f 72 | 64 52 65 66 73 2c 74 68 |s,theWor|dRefs,th|
|00000b20| 65 57 6f 72 64 73 2c 74 | 68 65 53 6f 75 6e 64 46 |eWords,t|heSoundF|
|00000b30| 69 6c 65 73 22 20 69 6e | 74 6f 20 67 6c 6f 62 73 |iles" in|to globs|
|00000b40| 4c 69 73 74 0d 67 65 74 | 20 22 67 6c 6f 62 61 6c |List.get| "global|
|00000b50| 22 20 26 26 20 67 6c 6f | 62 73 6c 69 73 74 0d 64 |" && glo|bslist.d|
|00000b60| 6f 20 69 74 0d 72 65 70 | 65 61 74 20 77 69 74 68 |o it.rep|eat with|
|00000b70| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00000b80| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|00000b90| 20 67 6c 6f 62 73 6c 69 | 73 74 0d 67 65 74 20 22 | globsli|st.get "|
|00000ba0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 22 |put empt|y into "|
|00000bb0| 26 20 69 74 65 6d 20 69 | 20 6f 66 20 67 6c 6f 62 |& item i| of glob|
|00000bc0| 73 6c 69 73 74 0d 64 6f | 20 69 74 0d 65 6e 64 20 |slist.do| it.end |
|00000bd0| 72 65 70 65 61 74 0d 69 | 66 20 74 68 65 20 73 68 |repeat.i|f the sh|
|00000be0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 6d 65 20 69 |ort name| of me i|
|00000bf0| 73 20 69 6e 20 74 68 65 | 20 73 74 61 63 6b 73 49 |s in the| stacksI|
|00000c00| 6e 55 73 65 20 74 68 65 | 6e 0d 67 65 74 20 22 73 |nUse the|n.get "s|
|00000c10| 74 6f 70 20 75 73 69 6e | 67 20 22 26 74 68 65 20 |top usin|g "&the |
|00000c20| 6e 61 6d 65 20 6f 66 20 | 6d 65 0d 64 6f 20 69 74 |name of |me.do it|
|00000c30| 0d 65 6e 64 20 69 66 0d | 73 61 76 65 55 4c 20 46 |.end if.|saveUL F|
|00000c40| 41 4c 53 45 0d 65 6e 64 | 20 63 6c 6f 73 65 53 74 |ALSE.end| closeSt|
|00000c50| 61 63 6b 0d 0d 6f 6e 20 | 64 6f 4d 65 6e 75 20 77 |ack..on |doMenu w|
|00000c60| 68 61 74 0d 67 6c 6f 62 | 61 6c 20 50 61 6c 50 6f |hat.glob|al PalPo|
|00000c70| 73 2c 73 61 66 4e 61 76 | 2c 75 73 65 72 6e 61 6d |s,safNav|,usernam|
|00000c80| 65 2c 74 68 65 44 65 6d | 6f 41 70 70 0d 69 66 20 |e,theDem|oApp.if |
|00000c90| 77 68 61 74 20 3d 20 22 | 51 75 69 74 20 48 79 70 |what = "|Quit Hyp|
|00000ca0| 65 72 43 61 72 64 22 20 | 74 68 65 6e 0d 69 66 20 |erCard" |then.if |
|00000cb0| 74 68 65 20 68 65 61 70 | 73 70 61 63 65 20 3c 20 |the heap|space < |
|00000cc0| 31 38 30 30 30 30 20 74 | 68 65 6e 0d 73 65 74 20 |180000 t|hen.set |
|00000cd0| 74 68 65 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |the lock|messages|
|00000ce0| 20 74 6f 20 74 72 75 65 | 0d 2d 2d 2f 2f 20 41 64 | to true|.--// Ad|
|00000cf0| 64 65 64 20 62 79 20 4d | 65 64 69 6f 72 2c 20 49 |ded by M|edior, I|
|00000d00| 6e 63 2e 20 36 2f 32 2f | 39 31 0d 67 6c 6f 62 61 |nc. 6/2/|91.globa|
|00000d10| 6c 20 52 50 53 74 61 63 | 6b 4e 61 6d 65 0d 69 66 |l RPStac|kName.if|
|00000d20| 20 22 2c 22 26 77 68 61 | 74 26 22 2c 22 20 69 73 | ","&wha|t&"," is|
|00000d30| 20 69 6e 20 22 2c 48 6f | 6d 65 2c 51 75 69 74 20 | in ",Ho|me,Quit |
|00000d40| 48 79 70 65 72 43 61 72 | 64 2c 22 20 61 6e 64 20 |HyperCar|d," and |
|00000d50| 52 50 53 74 61 63 6b 4e | 61 6d 65 20 69 73 20 6e |RPStackN|ame is n|
|00000d60| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 73 65 |ot empty| then.se|
|00000d70| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00000d80| 68 0d 70 75 74 20 52 50 | 53 74 61 63 6b 4e 61 6d |h.put RP|StackNam|
|00000d90| 65 20 69 6e 74 6f 20 73 | 4e 0d 72 65 70 65 61 74 |e into s|N.repeat|
|00000da0| 20 75 6e 74 69 6c 20 6f | 66 66 73 65 74 28 22 3a | until o|ffset(":|
|00000db0| 22 2c 73 4e 29 20 3d 20 | 30 0d 64 65 6c 65 74 65 |",sN) = |0.delete|
|00000dc0| 20 63 68 61 72 20 31 20 | 74 6f 20 6f 66 66 73 65 | char 1 |to offse|
|00000dd0| 74 28 22 3a 22 2c 73 4e | 29 20 6f 66 20 73 4e 0d |t(":",sN|) of sN.|
|00000de0| 65 6e 64 20 72 65 70 65 | 61 74 0d 64 65 6c 65 74 |end repe|at.delet|
|00000df0| 65 20 6c 61 73 74 20 63 | 68 61 72 20 6f 66 20 73 |e last c|har of s|
|00000e00| 4e 0d 61 6e 73 77 65 72 | 20 22 54 68 69 73 20 77 |N.answer| "This w|
|00000e10| 69 6c 6c 20 72 65 74 75 | 72 6e 20 74 6f 20 22 26 |ill retu|rn to "&|
|00000e20| 73 4e 26 22 2e 22 20 77 | 69 74 68 20 22 43 61 6e |sN&"." w|ith "Can|
|00000e30| 63 65 6c 22 20 6f 72 20 | 22 4f 4b 22 0d 69 66 20 |cel" or |"OK".if |
|00000e40| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00000e50| 68 65 6e 20 65 78 69 74 | 20 64 6f 6d 65 6e 75 0d |hen exit| domenu.|
|00000e60| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00000e70| 74 63 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tch.lock| screen.|
|00000e80| 67 6f 20 52 50 53 74 61 | 63 6b 4e 61 6d 65 0d 75 |go RPSta|ckName.u|
|00000e90| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00000ea0| 68 20 64 69 73 73 6f 6c | 76 65 20 66 61 73 74 0d |h dissol|ve fast.|
|00000eb0| 65 78 69 74 20 64 6f 6d | 65 6e 75 0d 65 6c 73 65 |exit dom|enu.else|
|00000ec0| 20 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6c 73 | pass do|Menu.els|
|00000ed0| 65 20 69 66 20 63 61 6e | 51 75 69 74 28 29 20 74 |e if can|Quit() t|
|00000ee0| 68 65 6e 20 70 61 73 73 | 20 64 6f 4d 65 6e 75 0d |hen pass| doMenu.|
|00000ef0| 65 6c 73 65 20 61 6e 73 | 77 65 72 20 22 53 6f 72 |else ans|wer "Sor|
|00000f00| 72 79 2c 20 49 20 63 61 | 6e 27 74 20 71 75 69 74 |ry, I ca|n't quit|
|00000f10| 20 68 65 72 65 2e 22 0d | 65 6c 73 65 20 69 66 20 | here.".|else if |
|00000f20| 77 68 61 74 20 3d 20 22 | 63 6f 6d 70 61 63 74 20 |what = "|compact |
|00000f30| 73 74 61 63 6b 22 20 74 | 68 65 6e 0d 69 66 20 73 |stack" t|hen.if s|
|00000f40| 61 66 4e 61 76 20 69 73 | 20 69 6e 20 74 68 65 20 |afNav is| in the |
|00000f50| 77 69 6e 64 6f 77 73 0d | 74 68 65 6e 0d 63 6c 6f |windows.|then.clo|
|00000f60| 73 65 20 77 69 6e 64 6f | 77 20 73 61 66 4e 61 76 |se windo|w safNav|
|00000f70| 20 2d 2d 20 c6 0d 64 6f | 4d 65 6e 75 20 22 63 6f | -- ..do|Menu "co|
|00000f80| 6d 70 61 63 74 20 73 74 | 61 63 6b 22 0d 70 61 6c |mpact st|ack".pal|
|00000f90| 65 74 74 65 20 73 61 66 | 4e 61 76 2c 50 61 6c 50 |ette saf|Nav,PalP|
|00000fa0| 6f 73 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |os.set t|he loc o|
|00000fb0| 66 20 77 69 6e 64 6f 77 | 20 73 61 66 4e 61 76 20 |f window| safNav |
|00000fc0| 74 6f 20 70 61 6c 50 6f | 73 0d 65 6c 73 65 0d 70 |to palPo|s.else.p|
|00000fd0| 61 73 73 20 64 6f 4d 65 | 6e 75 0d 65 6e 64 20 69 |ass doMe|nu.end i|
|00000fe0| 66 0d 65 6c 73 65 0d 69 | 66 20 28 77 68 61 74 20 |f.else.i|f (what |
|00000ff0| 69 73 20 69 6e 20 22 48 | 6f 6d 65 20 43 6f 70 79 |is in "H|ome Copy|
|00001000| 20 54 65 78 74 20 50 61 | 73 74 65 20 54 65 78 74 | Text Pa|ste Text|
|00001010| 22 26 26 74 68 65 44 65 | 6d 6f 41 70 70 29 20 c2 |"&&theDe|moApp) .|
|00001020| 0d 4f 52 20 28 75 73 65 | 72 4e 61 6d 65 20 69 73 |.OR (use|rName is|
|00001030| 20 69 6e 20 22 7a 70 77 | 6b 20 6d 61 72 6b 20 73 | in "zpw|k mark s|
|00001040| 61 66 69 72 65 22 29 0d | 74 68 65 6e 20 70 61 73 |afire").|then pas|
|00001050| 73 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |s doMenu|.end if.|
|00001060| 65 6e 64 20 64 6f 4d 65 | 6e 75 0d 0d 2d 2d 20 2d |end doMe|nu..-- -|
|00001070| 2d 20 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |- if the| result |
|00001080| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 0d 2d 2d 20 |is not e|mpty.-- |
|00001090| 2d 2d 3f 20 69 6e 74 65 | 67 72 69 74 79 20 69 6e |--? inte|grity in|
|000010a0| 73 74 65 61 64 20 6f 66 | 20 65 78 74 65 6e 73 69 |stead of| extensi|
|000010b0| 76 65 20 65 72 72 6f 72 | 20 63 68 65 63 6b 69 6e |ve error| checkin|
|000010c0| 67 0d 2d 2d 20 73 65 74 | 20 74 68 65 20 6c 6f 63 |g.-- set| the loc|
|000010d0| 20 6f 66 20 77 69 6e 64 | 6f 77 20 73 61 66 6e 61 | of wind|ow safna|
|000010e0| 76 20 74 6f 20 70 61 6c | 50 6f 73 0d 2d 2d 20 69 |v to pal|Pos.-- i|
|000010f0| 66 20 53 61 66 4e 61 76 | 20 69 73 20 22 62 26 77 |f SafNav| is "b&w|
|00001100| 22 20 74 68 65 6e 20 69 | 66 20 74 68 65 72 65 20 |" then i|f there |
|00001110| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 77 68 69 |is a win|dow "whi|
|00001120| 74 65 26 67 72 65 79 22 | 20 74 68 65 6e 20 63 6c |te&grey"| then cl|
|00001130| 6f 73 65 20 77 69 6e 64 | 6f 77 20 22 77 68 69 74 |ose wind|ow "whit|
|00001140| 65 26 67 72 65 79 22 0d | 2d 2d 20 65 6c 73 65 20 |e&grey".|-- else |
|00001150| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00001160| 6e 64 6f 77 20 22 62 26 | 77 22 20 74 68 65 6e 20 |ndow "b&|w" then |
|00001170| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 62 26 |close wi|ndow "b&|
|00001180| 77 22 0d 2d 2d 20 65 6e | 64 20 69 66 0d 2d 2d 20 |w".-- en|d if.-- |
|00001190| 69 66 20 74 68 65 54 69 | 6d 65 4f 75 74 20 3d 20 |if theTi|meOut = |
|000011a0| 22 22 20 74 68 65 6e 20 | 70 61 73 73 20 69 64 6c |"" then |pass idl|
|000011b0| 65 0d 2d 2d 20 69 66 20 | 74 68 65 43 75 72 54 69 |e.-- if |theCurTi|
|000011c0| 6d 65 20 ad 20 30 20 74 | 68 65 6e 20 61 64 64 20 |me . 0 t|hen add |
|000011d0| 31 20 74 6f 20 74 68 65 | 43 75 72 54 69 6d 65 0d |1 to the|CurTime.|
|000011e0| 2d 2d 20 69 66 20 74 68 | 65 43 75 72 54 69 6d 65 |-- if th|eCurTime|
|000011f0| 20 b3 20 74 68 65 54 69 | 6d 65 4f 75 74 20 74 68 | . theTi|meOut th|
|00001200| 65 6e 0d 2d 2d 20 74 69 | 6d 65 4f 75 74 0d 2d 2d |en.-- ti|meOut.--|
|00001210| 20 70 61 73 73 20 69 64 | 6c 65 0d 2d 2d 20 65 6e | pass id|le.-- en|
|00001220| 64 20 69 66 0d 2d 2d 20 | 65 6e 64 20 69 64 6c 65 |d if.-- |end idle|
|00001230| 0d 0d 6f 6e 20 69 64 6c | 65 0d 67 6c 6f 62 61 6c |..on idl|e.global|
|00001240| 20 70 61 6c 50 6f 73 2c | 73 61 66 4e 61 76 2c 74 | palPos,|safNav,t|
|00001250| 68 65 43 75 72 54 69 6d | 65 2c 74 68 65 54 69 6d |heCurTim|e,theTim|
|00001260| 65 4f 75 74 2c 63 6f 6c | 6f 72 2c 62 6f 74 42 61 |eOut,col|or,botBa|
|00001270| 72 0d 0d 73 65 74 20 74 | 68 65 20 63 61 6e 74 61 |r..set t|he canta|
|00001280| 62 6f 72 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |bort of |this sta|
|00001290| 63 6b 20 74 6f 20 46 41 | 4c 53 45 20 2d 2d 20 69 |ck to FA|LSE -- i|
|000012a0| 6e 20 63 61 73 65 20 64 | 72 6f 70 70 65 64 20 69 |n case d|ropped i|
|000012b0| 6e 20 61 20 73 63 72 2e | 0d 69 66 20 63 61 6e 74 |n a scr.|.if cant|
|000012c0| 4d 6f 64 28 29 20 74 68 | 65 6e 20 73 65 74 20 74 |Mod() th|en set t|
|000012d0| 68 65 20 75 73 65 72 4d | 6f 64 69 66 79 20 74 6f |he userM|odify to|
|000012e0| 20 74 72 75 65 0d 69 66 | 20 74 68 65 20 73 75 73 | true.if| the sus|
|000012f0| 70 65 6e 64 65 64 20 74 | 68 65 6e 20 61 70 70 49 |pended t|hen appI|
|00001300| 73 52 75 6e 6e 69 6e 67 | 0d 0d 69 66 20 74 68 65 |sRunning|..if the|
|00001310| 20 75 73 65 72 4c 65 76 | 65 6c 20 ad 20 35 20 74 | userLev|el . 5 t|
|00001320| 68 65 6e 0d 68 69 64 65 | 20 6d 65 6e 75 62 61 72 |hen.hide| menubar|
|00001330| 0d 68 69 64 65 20 6d 73 | 67 0d 65 6e 64 20 69 66 |.hide ms|g.end if|
|00001340| 0d 67 65 74 20 73 79 73 | 65 6e 76 28 29 0d 69 66 |.get sys|env().if|
|00001350| 20 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 | item 1 |of line |
|00001360| 32 20 6f 66 20 69 74 20 | ad 20 31 20 74 68 65 6e |2 of it |. 1 then|
|00001370| 0d 70 75 74 20 22 62 69 | 67 53 61 66 33 22 20 69 |.put "bi|gSaf3" i|
|00001380| 6e 74 6f 20 73 61 66 4e | 61 76 0d 70 75 74 20 74 |nto safN|av.put t|
|00001390| 72 75 65 20 69 6e 74 6f | 20 63 6f 6c 6f 72 0d 65 |rue into| color.e|
|000013a0| 6c 73 65 0d 70 75 74 20 | 22 42 69 67 53 61 66 62 |lse.put |"BigSafb|
|000013b0| 26 77 22 20 69 6e 74 6f | 20 73 61 66 4e 61 76 0d |&w" into| safNav.|
|000013c0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 63 |put fals|e into c|
|000013d0| 6f 6c 6f 72 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |olor.end| if..if |
|000013e0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|000013f0| 77 20 73 61 66 4e 61 76 | 0d 74 68 65 6e 20 73 65 |w safNav|.then se|
|00001400| 74 20 74 68 65 20 68 69 | 6c 69 74 65 64 42 75 74 |t the hi|litedBut|
|00001410| 74 6f 6e 20 6f 66 20 77 | 69 6e 64 6f 77 20 73 61 |ton of w|indow sa|
|00001420| 66 4e 61 76 20 74 6f 20 | 30 0d 65 6c 73 65 0d 50 |fNav to |0.else.P|
|00001430| 61 6c 65 74 74 65 20 53 | 61 66 4e 61 76 2c 50 61 |alette S|afNav,Pa|
|00001440| 6c 50 6f 73 0d 73 65 74 | 20 74 68 65 20 6c 6f 63 |lPos.set| the loc|
|00001450| 20 6f 66 20 77 69 6e 64 | 6f 77 20 73 61 66 6e 61 | of wind|ow safna|
|00001460| 76 20 74 6f 20 70 61 6c | 50 6f 73 0d 69 66 20 53 |v to pal|Pos.if S|
|00001470| 61 66 4e 61 76 20 69 73 | 20 22 42 69 67 53 61 66 |afNav is| "BigSaf|
|00001480| 62 26 77 22 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |b&w" the|n.if the|
|00001490| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 62 |re is a |window b|
|000014a0| 6f 74 42 61 72 20 74 68 | 65 6e 20 64 6f 42 61 72 |otBar th|en doBar|
|000014b0| 73 20 46 41 4c 53 45 0d | 69 66 20 74 68 65 72 65 |s FALSE.|if there|
|000014c0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 22 42 69 | is a wi|ndow "Bi|
|000014d0| 67 53 61 66 33 22 20 74 | 68 65 6e 20 63 6c 6f 73 |gSaf3" t|hen clos|
|000014e0| 65 20 77 69 6e 64 6f 77 | 20 22 42 69 67 53 61 66 |e window| "BigSaf|
|000014f0| 33 22 0d 77 61 69 74 20 | 31 20 2d 2d 20 2a 2a 2a |3".wait |1 -- ***|
|00001500| 20 74 79 72 61 6e 6e 79 | 20 6f 66 20 74 68 65 20 | tyranny| of the |
|00001510| 6c 61 6e 67 75 61 67 65 | 0d 65 6c 73 65 0d 69 66 |language|.else.if|
|00001520| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 20 77 69 6e | there i|s no win|
|00001530| 64 6f 77 20 62 6f 74 42 | 61 72 20 74 68 65 6e 20 |dow botB|ar then |
|00001540| 64 6f 42 61 72 73 20 54 | 52 55 45 0d 69 66 20 74 |doBars T|RUE.if t|
|00001550| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00001560| 20 22 42 69 67 53 61 66 | 62 26 77 22 20 74 68 65 | "BigSaf|b&w" the|
|00001570| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 22 |n close |window "|
|00001580| 42 69 67 53 61 66 62 26 | 77 22 0d 65 6e 64 20 69 |BigSafb&|w".end i|
|00001590| 66 0d 65 6e 64 20 69 66 | 0d 0d 69 66 20 74 68 65 |f.end if|..if the|
|000015a0| 54 69 6d 65 4f 75 74 20 | 3d 20 22 22 20 74 68 65 |TimeOut |= "" the|
|000015b0| 6e 20 70 61 73 73 20 69 | 64 6c 65 0d 69 66 20 74 |n pass i|dle.if t|
|000015c0| 68 65 43 75 72 54 69 6d | 65 20 ad 20 30 20 74 68 |heCurTim|e . 0 th|
|000015d0| 65 6e 20 61 64 64 20 31 | 20 74 6f 20 74 68 65 43 |en add 1| to theC|
|000015e0| 75 72 54 69 6d 65 0d 69 | 66 20 74 68 65 43 75 72 |urTime.i|f theCur|
|000015f0| 54 69 6d 65 20 b3 20 74 | 68 65 54 69 6d 65 4f 75 |Time . t|heTimeOu|
|00001600| 74 20 74 68 65 6e 0d 74 | 69 6d 65 4f 75 74 0d 70 |t then.t|imeOut.p|
|00001610| 61 73 73 20 69 64 6c 65 | 0d 65 6e 64 20 69 66 0d |ass idle|.end if.|
|00001620| 65 6e 64 20 69 64 6c 65 | 0d 0d 6f 6e 20 6b 65 79 |end idle|..on key|
|00001630| 44 6f 77 6e 20 78 0d 2d | 2d 20 63 61 74 63 68 20 |Down x.-|- catch |
|00001640| 65 73 63 61 70 65 73 20 | 74 6f 20 70 72 65 76 65 |escapes |to preve|
|00001650| 6e 74 20 73 63 72 65 77 | 75 70 73 0d 67 6c 6f 62 |nt screw|ups.glob|
|00001660| 61 6c 20 75 73 65 72 4e | 61 6d 65 0d 69 66 20 63 |al userN|ame.if c|
|00001670| 68 61 72 74 6f 6e 75 6d | 28 78 29 20 3d 20 32 37 |hartonum|(x) = 27|
|00001680| 20 74 68 65 6e 0d 69 66 | 20 75 73 65 72 4e 61 6d | then.if| userNam|
|00001690| 65 20 69 73 20 69 6e 20 | 22 4d 61 72 6b 20 53 61 |e is in |"Mark Sa|
|000016a0| 66 69 72 65 20 7a 70 77 | 6b 20 49 6b 61 72 20 4b |fire zpw|k Ikar K|
|000016b0| 6f 7a 61 6b 22 20 74 68 | 65 6e 20 70 61 73 73 20 |ozak" th|en pass |
|000016c0| 6b 65 79 44 6f 77 6e 0d | 65 6c 73 65 20 62 65 65 |keyDown.|else bee|
|000016d0| 70 0d 65 6c 73 65 20 70 | 61 73 73 20 6b 65 79 44 |p.else p|ass keyD|
|000016e0| 6f 77 6e 0d 65 6e 64 20 | 6b 65 79 44 6f 77 6e 0d |own.end |keyDown.|
|000016f0| 0d 0d 6f 6e 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 67 |..on mou|seDown.g|
|00001700| 6c 6f 62 61 6c 20 74 68 | 65 43 75 72 54 69 6d 65 |lobal th|eCurTime|
|00001710| 0d 69 66 20 74 68 65 43 | 75 72 54 69 6d 65 20 ad |.if theC|urTime .|
|00001720| 20 30 20 74 68 65 6e 20 | 70 75 74 20 31 20 69 6e | 0 then |put 1 in|
|00001730| 74 6f 20 74 68 65 43 75 | 72 54 69 6d 65 20 2d 2d |to theCu|rTime --|
|00001740| 20 72 65 73 65 74 20 74 | 68 65 20 74 69 6d 65 72 | reset t|he timer|
|00001750| 0d 65 6e 64 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 0d |.end mou|seDown..|
|00001760| 6f 6e 20 4f 75 74 4f 66 | 4d 65 6d 20 78 0d 2d 2d |on OutOf|Mem x.--|
|00001770| 20 63 61 6c 6c 65 64 20 | 62 79 20 4f 70 65 6e 53 | called |by OpenS|
|00001780| 74 61 63 6b 3a 20 64 75 | 70 6c 69 63 61 74 65 20 |tack: du|plicate |
|00001790| 69 6e 20 65 78 69 74 20 | 63 61 74 63 68 65 72 20 |in exit |catcher |
|000017a0| 73 74 61 63 6b 2e 0d 2d | 2d 20 70 75 74 20 74 68 |stack..-|- put th|
|000017b0| 65 20 68 65 61 70 73 70 | 61 63 65 0d 61 6e 73 77 |e heapsp|ace.answ|
|000017c0| 65 72 20 22 4e 6f 74 20 | 65 6e 6f 75 67 68 20 6d |er "Not |enough m|
|000017d0| 65 6d 6f 72 79 20 74 6f | 20 75 73 65 20 74 68 69 |emory to| use thi|
|000017e0| 73 20 73 74 61 63 6b 2e | 20 20 53 6f 72 72 79 2e |s stack.| Sorry.|
|000017f0| 22 c2 0d 77 69 74 68 20 | 22 51 75 69 74 22 2c 22 |"..with |"Quit","|
|00001800| 48 6f 6d 65 22 2c 22 42 | 61 63 6b 22 0d 73 65 74 |Home","B|ack".set|
|00001810| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|00001820| 20 74 72 75 65 0d 73 65 | 74 20 6c 6f 63 6b 52 65 | true.se|t lockRe|
|00001830| 63 65 6e 74 20 74 6f 20 | 74 72 75 65 0d 69 66 20 |cent to |true.if |
|00001840| 69 74 20 69 73 20 22 51 | 75 69 74 22 20 74 68 65 |it is "Q|uit" the|
|00001850| 6e 20 70 75 74 20 22 51 | 75 69 74 20 48 79 70 65 |n put "Q|uit Hype|
|00001860| 72 43 61 72 64 22 20 69 | 6e 74 6f 20 69 74 0d 64 |rCard" i|nto it.d|
|00001870| 6f 4d 65 6e 75 20 69 74 | 0d 65 78 69 74 20 74 6f |oMenu it|.exit to|
|00001880| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 4f | HyperCa|rd.end O|
|00001890| 75 74 4f 66 4d 65 6d 0d | 0d 6f 6e 20 6f 70 65 6e |utOfMem.|.on open|
|000018a0| 53 74 61 63 6b 0d 0d 2d | 2d 20 63 68 65 63 6b 20 |Stack..-|- check |
|000018b0| 66 6f 72 20 6f 70 65 6e | 69 6e 67 20 6f 6e 20 74 |for open|ing on t|
|000018c0| 6f 6f 20 73 6d 61 6c 6c | 20 61 20 73 63 72 65 65 |oo small| a scree|
|000018d0| 6e 0d 70 75 74 20 74 68 | 65 20 73 63 72 65 65 6e |n.put th|e screen|
|000018e0| 52 65 63 74 20 69 6e 74 | 6f 20 73 63 72 52 65 63 |Rect int|o scrRec|
|000018f0| 74 0d 69 66 20 4e 4f 54 | 20 28 69 74 65 6d 20 33 |t.if NOT| (item 3|
|00001900| 20 6f 66 20 73 63 72 52 | 65 63 74 20 b3 20 36 34 | of scrR|ect . 64|
|00001910| 30 20 61 6e 64 20 69 74 | 65 6d 20 34 20 6f 66 20 |0 and it|em 4 of |
|00001920| 73 63 72 52 65 63 74 20 | b3 20 34 38 30 29 20 74 |scrRect |. 480) t|
|00001930| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 59 6f 75 20 |hen.answ|er "You |
|00001940| 6e 65 65 64 20 61 74 20 | 6c 65 61 73 74 20 61 20 |need at |least a |
|00001950| 20 36 34 30 20 78 20 34 | 38 30 20 70 69 78 65 6c | 640 x 4|80 pixel|
|00001960| 20 6d 6f 6e 69 74 6f 72 | 20 74 6f 20 76 69 65 77 | monitor| to view|
|00001970| 20 74 68 69 73 20 73 74 | 61 63 6b 2e 20 20 53 6f | this st|ack. So|
|00001980| 72 72 79 2e 22 c2 0d 77 | 69 74 68 20 22 42 61 63 |rry."..w|ith "Bac|
|00001990| 6b 22 20 6f 72 20 22 51 | 75 69 74 22 0d 69 66 20 |k" or "Q|uit".if |
|000019a0| 69 74 20 69 73 20 22 42 | 61 63 6b 22 20 74 68 65 |it is "B|ack" the|
|000019b0| 6e 0d 70 6f 70 20 63 64 | 0d 65 78 69 74 20 6f 70 |n.pop cd|.exit op|
|000019c0| 65 6e 53 74 61 63 6b 0d | 65 6c 73 65 20 69 66 20 |enStack.|else if |
|000019d0| 69 74 20 69 73 20 22 51 | 75 69 74 22 20 74 68 65 |it is "Q|uit" the|
|000019e0| 6e 20 64 6f 4d 65 6e 75 | 20 22 51 75 69 74 20 48 |n doMenu| "Quit H|
|000019f0| 79 70 65 72 43 61 72 64 | 22 0d 65 6e 64 20 69 66 |yperCard|".end if|
|00001a00| 0d 0d 2d 2d 20 63 68 65 | 63 6b 20 77 69 6e 64 6f |..-- che|ck windo|
|00001a10| 77 20 73 69 7a 65 2c 20 | 69 66 20 77 65 20 63 61 |w size, |if we ca|
|00001a20| 6e 20 28 6c 6f 63 6b 73 | 63 72 65 65 6e 20 77 69 |n (locks|creen wi|
|00001a30| 6e 64 6f 77 20 62 75 67 | 21 29 0d 69 66 20 4e 4f |ndow bug|!).if NO|
|00001a40| 54 20 74 68 65 20 6c 6f | 63 6b 73 63 72 65 65 6e |T the lo|ckscreen|
|00001a50| 20 74 68 65 6e 0d 69 66 | 20 74 68 65 20 77 69 64 | then.if| the wid|
|00001a60| 74 68 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 20 |th of cd| window |
|00001a70| 3c 20 36 34 30 20 74 68 | 65 6e 20 4f 75 74 4f 66 |< 640 th|en OutOf|
|00001a80| 4d 65 6d 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 63 |Mem.end |if..-- c|
|00001a90| 68 65 63 6b 20 68 65 61 | 70 73 70 61 63 65 20 66 |heck hea|pspace f|
|00001aa0| 6f 72 20 6c 6f 77 20 6d | 65 6d 6f 72 79 0d 70 75 |or low m|emory.pu|
|00001ab0| 74 20 74 68 65 20 68 65 | 61 70 53 70 61 63 65 20 |t the he|apSpace |
|00001ac0| 69 6e 74 6f 20 68 70 53 | 70 61 63 65 0d 69 66 20 |into hpS|pace.if |
|00001ad0| 68 70 53 70 61 63 65 20 | b2 20 31 30 30 30 30 30 |hpSpace |. 100000|
|00001ae0| 20 2d 2d 20 31 30 30 30 | 4b 20 70 61 72 74 69 74 | -- 1000|K partit|
|00001af0| 69 6f 6e 20 6d 69 6e 2e | 0d 74 68 65 6e 20 4f 75 |ion min.|.then Ou|
|00001b00| 74 4f 66 4d 65 6d 0d 0d | 67 6c 6f 62 61 6c 20 74 |tOfMem..|global t|
|00001b10| 68 65 4c 61 75 6e 63 68 | 43 64 2c 74 68 65 46 54 |heLaunch|Cd,theFT|
|00001b20| 6f 75 63 68 53 63 72 65 | 65 6e 2c 75 73 65 72 4e |ouchScre|en,userN|
|00001b30| 61 6d 65 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ame.set |cursor t|
|00001b40| 6f 20 77 61 74 63 68 0d | 2d 2d 20 64 65 62 75 67 |o watch.|-- debug|
|00001b50| 20 63 68 65 63 6b 70 6f | 69 6e 74 0d 2d 2d 20 73 | checkpo|int.-- s|
|00001b60| 68 6f 77 20 77 69 6e 64 | 6f 77 20 22 76 61 72 69 |how wind|ow "vari|
|00001b70| 61 62 6c 65 20 77 61 74 | 63 68 65 72 22 0d 73 65 |able wat|cher".se|
|00001b80| 74 20 63 61 6e 74 41 62 | 6f 72 74 20 6f 66 20 74 |t cantAb|ort of t|
|00001b90| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 74 72 75 |his stac|k to tru|
|00001ba0| 65 0d 68 69 64 65 20 6d | 65 6e 75 62 61 72 0d 69 |e.hide m|enubar.i|
|00001bb0| 66 20 63 61 6e 74 4d 6f | 64 28 29 20 74 68 65 6e |f cantMo|d() then|
|00001bc0| 20 73 65 74 20 74 68 65 | 20 75 73 65 72 4d 6f 64 | set the| userMod|
|00001bd0| 69 66 79 20 74 6f 20 74 | 72 75 65 0d 0d 69 66 20 |ify to t|rue..if |
|00001be0| 74 68 65 4c 61 75 6e 63 | 68 43 44 20 63 6f 6e 74 |theLaunc|hCD cont|
|00001bf0| 61 69 6e 73 20 74 68 65 | 20 73 68 6f 72 74 20 6e |ains the| short n|
|00001c00| 61 6d 65 20 6f 66 20 6d | 65 20 74 68 65 6e 0d 70 |ame of m|e then.p|
|00001c10| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00001c20| 65 4c 61 75 6e 63 68 43 | 44 0d 73 65 6e 64 20 22 |eLaunchC|D.send "|
|00001c30| 72 65 73 74 6f 72 65 47 | 6c 6f 62 73 22 20 74 6f |restoreG|lobs" to|
|00001c40| 20 66 69 72 73 74 20 63 | 64 0d 69 66 20 74 68 65 | first c|d.if the|
|00001c50| 20 72 65 73 75 6c 74 20 | 69 73 20 65 6d 70 74 79 | result |is empty|
|00001c60| 20 74 68 65 6e 0d 73 65 | 74 20 63 61 6e 74 41 62 | then.se|t cantAb|
|00001c70| 6f 72 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ort of t|his stac|
|00001c80| 6b 20 74 6f 20 66 61 6c | 73 65 0d 65 78 69 74 20 |k to fal|se.exit |
|00001c90| 6f 70 65 6e 53 74 61 63 | 6b 0d 65 6e 64 20 69 66 |openStac|k.end if|
|00001ca0| 0d 65 6e 64 20 69 66 0d | 6c 6f 63 6b 65 6e 76 0d |.end if.|lockenv.|
|00001cb0| 73 65 6e 64 20 22 69 6e | 69 74 47 6c 6f 62 73 22 |send "in|itGlobs"|
|00001cc0| 20 74 6f 20 66 69 72 73 | 74 20 63 64 0d 0d 70 75 | to firs|t cd..pu|
|00001cd0| 73 68 20 63 64 0d 67 6f | 20 63 64 20 22 70 72 65 |sh cd.go| cd "pre|
|00001ce0| 66 73 22 0d 73 65 6e 64 | 20 22 6f 70 65 6e 50 72 |fs".send| "openPr|
|00001cf0| 65 66 73 22 20 74 6f 20 | 74 68 69 73 20 63 64 0d |efs" to |this cd.|
|00001d00| 73 65 6e 64 20 22 69 6e | 69 74 50 72 65 66 73 20 |send "in|itPrefs |
|00001d10| 6f 70 65 6e 73 74 61 63 | 6b 22 20 74 6f 20 74 68 |openstac|k" to th|
|00001d20| 69 73 20 63 64 0d 70 6f | 70 20 63 64 0d 73 65 6e |is cd.po|p cd.sen|
|00001d30| 64 20 22 73 65 74 43 6f | 6c 6f 72 22 20 74 6f 20 |d "setCo|lor" to |
|00001d40| 66 69 72 73 74 20 63 64 | 0d 2d 2d 20 70 75 74 20 |first cd|.-- put |
|00001d50| 22 54 68 65 46 54 6f 75 | 63 68 73 63 72 65 65 6e |"TheFTou|chscreen|
|00001d60| 20 69 73 22 20 26 26 20 | 74 68 65 46 54 6f 75 63 | is" && |theFTouc|
|00001d70| 68 53 63 72 65 65 6e 20 | 2d 2d 64 65 62 75 67 0d |hScreen |--debug.|
|00001d80| 69 66 20 74 68 65 46 54 | 6f 75 63 68 73 63 72 65 |if theFT|ouchscre|
|00001d90| 65 6e 20 74 68 65 6e 20 | 70 75 74 20 22 54 6f 75 |en then |put "Tou|
|00001da0| 63 68 20 68 65 72 65 20 | 74 6f 20 63 6f 6e 74 69 |ch here |to conti|
|00001db0| 6e 75 65 c9 22 20 69 6e | 74 6f 20 63 64 20 66 6c |nue." in|to cd fl|
|00001dc0| 64 20 22 42 65 67 69 6e | 22 20 6f 66 20 63 64 20 |d "Begin|" of cd |
|00001dd0| 31 0d 65 6c 73 65 20 70 | 75 74 20 22 43 6c 69 63 |1.else p|ut "Clic|
|00001de0| 6b 20 68 65 72 65 20 74 | 6f 20 63 6f 6e 74 69 6e |k here t|o contin|
|00001df0| 75 65 c9 22 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |ue." int|o cd fld|
|00001e00| 20 22 42 65 67 69 6e 22 | 20 6f 66 20 63 64 20 31 | "Begin"| of cd 1|
|00001e10| 0d 0d 69 66 20 75 73 65 | 72 4e 61 6d 65 20 69 73 |..if use|rName is|
|00001e20| 20 6e 6f 74 20 69 6e 20 | 22 20 7a 70 77 6b 20 6d | not in |" zpwk m|
|00001e30| 61 72 6b 20 73 61 66 69 | 72 65 20 22 20 74 68 65 |ark safi|re " the|
|00001e40| 6e 0d 69 66 20 74 68 65 | 20 75 73 65 72 4c 65 76 |n.if the| userLev|
|00001e50| 65 6c 20 ad 20 32 20 74 | 68 65 6e 20 73 61 76 65 |el . 2 t|hen save|
|00001e60| 55 4c 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |UL true.|set the |
|00001e70| 62 6c 69 6e 64 54 79 70 | 69 6e 67 20 74 6f 20 66 |blindTyp|ing to f|
|00001e80| 61 6c 73 65 0d 73 65 74 | 20 74 68 65 20 70 6f 77 |alse.set| the pow|
|00001e90| 65 72 4b 65 79 73 20 74 | 6f 20 66 61 6c 73 65 0d |erKeys t|o false.|
|00001ea0| 65 6e 64 20 69 66 0d 73 | 65 74 20 63 61 6e 74 41 |end if.s|et cantA|
|00001eb0| 62 6f 72 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |bort of |this sta|
|00001ec0| 63 6b 20 74 6f 20 66 61 | 6c 73 65 0d 0d 71 75 69 |ck to fa|lse..qui|
|00001ed0| 74 4d 65 73 73 61 67 65 | 0d 0d 65 6e 64 20 6f 70 |tMessage|..end op|
|00001ee0| 65 6e 53 74 61 63 6b 0d | 0d 6f 6e 20 71 75 69 74 |enStack.|.on quit|
|00001ef0| 4d 65 73 73 61 67 65 0d | 67 6c 6f 62 61 6c 20 74 |Message.|global t|
|00001f00| 68 65 46 51 75 69 74 74 | 69 6e 67 0d 69 66 20 74 |heFQuitt|ing.if t|
|00001f10| 68 65 46 51 75 69 74 74 | 69 6e 67 20 74 68 65 6e |heFQuitt|ing then|
|00001f20| 20 65 78 69 74 20 71 75 | 69 74 4d 65 73 73 61 67 | exit qu|itMessag|
|00001f30| 65 0d 0d 70 75 74 20 22 | 49 4d 50 4f 52 54 41 4e |e..put "|IMPORTAN|
|00001f40| 54 20 4d 45 53 53 41 47 | 45 3a 20 42 65 63 61 75 |T MESSAG|E: Becau|
|00001f50| 73 65 20 74 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |se this |program |
|00001f60| 69 73 20 64 65 73 69 67 | 6e 65 64 20 66 6f 72 20 |is desig|ned for |
|00001f70| 75 73 65 20 69 6e 20 61 | 20 70 75 62 6c 69 63 20 |use in a| public |
|00001f80| 6b 69 6f 73 6b 2c 22 20 | 69 6e 74 6f 20 6d 0d 70 |kiosk," |into m.p|
|00001f90| 75 74 20 22 20 79 6f 75 | 20 68 61 76 65 20 74 6f |ut " you| have to|
|00001fa0| 20 68 6f 6c 64 20 64 6f | 77 6e 20 74 68 65 20 6f | hold do|wn the o|
|00001fb0| 70 74 69 6f 6e 20 6b 65 | 79 20 77 68 65 6e 20 70 |ption ke|y when p|
|00001fc0| 72 65 73 73 69 6e 67 20 | 74 68 65 22 20 61 66 74 |ressing |the" aft|
|00001fd0| 65 72 20 6d 0d 70 75 74 | 20 22 20 27 51 75 69 74 |er m.put| " 'Quit|
|00001fe0| 27 20 62 75 74 74 6f 6e | 20 74 6f 20 6c 65 61 76 |' button| to leav|
|00001ff0| 65 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2e 22 20 |e the pr|ogram." |
|00002000| 61 66 74 65 72 20 6d 0d | 0d 61 6e 73 77 65 72 20 |after m.|.answer |
|00002010| 6d 0d 65 6e 64 20 71 75 | 69 74 4d 65 73 73 61 67 |m.end qu|itMessag|
|00002020| 65 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 0d 68 69 64 |e..on re|sume.hid|
|00002030| 65 20 6d 65 6e 75 42 61 | 72 0d 73 65 74 20 63 75 |e menuBa|r.set cu|
|00002040| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 6c 6f |rsor to |watch.lo|
|00002050| 63 6b 45 6e 76 0d 2d 2d | 73 68 6f 77 20 77 69 6e |ckEnv.--|show win|
|00002060| 64 6f 77 20 22 76 61 72 | 69 61 62 6c 65 20 57 61 |dow "var|iable Wa|
|00002070| 74 63 68 65 72 22 0d 73 | 65 6e 64 20 67 65 74 68 |tcher".s|end geth|
|00002080| 6f 6d 65 49 6e 66 6f 20 | 74 6f 20 68 6f 6d 65 0d |omeInfo |to home.|
|00002090| 73 65 6e 64 20 22 72 65 | 73 74 6f 72 65 47 6c 6f |send "re|storeGlo|
|000020a0| 62 73 22 20 74 6f 20 66 | 69 72 73 74 20 63 64 0d |bs" to f|irst cd.|
|000020b0| 2d 2d 20 70 61 73 73 20 | 72 65 73 75 6d 65 0d 65 |-- pass |resume.e|
|000020c0| 6e 64 20 72 65 73 75 6d | 65 0d 0d 6f 6e 20 73 74 |nd resum|e..on st|
|000020d0| 61 72 74 75 70 0d 68 69 | 64 65 20 6d 65 6e 75 62 |artup.hi|de menub|
|000020e0| 61 72 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ar.set c|ursor to|
|000020f0| 20 77 61 74 63 68 0d 70 | 61 73 73 20 73 74 61 72 | watch.p|ass star|
|00002100| 74 75 70 0d 65 6e 64 20 | 73 74 61 72 74 75 70 0d |tup.end |startup.|
|00002110| 0d 6f 6e 20 73 75 73 70 | 65 6e 64 0d 73 65 6e 64 |.on susp|end.send|
|00002120| 20 22 73 74 6f 72 65 47 | 6c 6f 62 73 22 20 74 6f | "storeG|lobs" to|
|00002130| 20 66 69 72 73 74 20 63 | 64 0d 65 6e 64 20 73 75 | first c|d.end su|
|00002140| 73 70 65 6e 64 0d 0d 6f | 6e 20 73 75 73 70 65 6e |spend..o|n suspen|
|00002150| 64 53 74 61 63 6b 0d 67 | 6c 6f 62 61 6c 20 74 68 |dStack.g|lobal th|
|00002160| 65 43 75 72 54 69 6d 65 | 0d 70 75 74 20 30 20 69 |eCurTime|.put 0 i|
|00002170| 6e 74 6f 20 74 68 65 43 | 75 72 54 69 6d 65 0d 63 |nto theC|urTime.c|
|00002180| 6c 6f 73 65 55 70 0d 65 | 6e 64 20 73 75 73 70 65 |loseUp.e|nd suspe|
|00002190| 6e 64 53 74 61 63 6b 0d | 0d 6f 6e 20 72 65 73 75 |ndStack.|.on resu|
|000021a0| 6d 65 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 70 |meStack.|global p|
|000021b0| 61 6c 50 6f 73 2c 73 61 | 66 4e 61 76 2c 74 68 65 |alPos,sa|fNav,the|
|000021c0| 43 75 72 54 69 6d 65 2c | 74 68 65 62 65 67 69 6e |CurTime,|thebegin|
|000021d0| 63 61 72 64 0d 70 75 74 | 20 31 20 69 6e 74 6f 20 |card.put| 1 into |
|000021e0| 74 68 65 43 75 72 54 69 | 6d 65 0d 73 65 6e 64 20 |theCurTi|me.send |
|000021f0| 22 73 65 74 43 6f 6c 6f | 72 22 20 74 6f 20 66 69 |"setColo|r" to fi|
|00002200| 72 73 74 20 63 64 20 2d | 2d 73 65 74 43 6f 6c 6f |rst cd -|-setColo|
|00002210| 72 49 74 65 6d 73 0d 72 | 65 70 65 61 74 0d 70 6f |rItems.r|epeat.po|
|00002220| 70 20 63 64 20 69 6e 74 | 6f 20 69 74 0d 69 66 20 |p cd int|o it.if |
|00002230| 4e 4f 54 20 28 69 74 20 | 63 6f 6e 74 61 69 6e 73 |NOT (it |contains|
|00002240| 20 74 68 65 20 6c 6f 6e | 67 20 6e 61 6d 65 20 6f | the lon|g name o|
|00002250| 66 20 6d 65 29 20 74 68 | 65 6e 0d 69 66 20 69 74 |f me) th|en.if it|
|00002260| 20 63 6f 6e 74 61 69 6e | 73 20 22 3a 48 6f 6d 65 | contain|s ":Home|
|00002270| 22 20 26 20 71 75 6f 74 | 65 20 74 68 65 6e 0d 69 |" & quot|e then.i|
|00002280| 66 20 74 65 73 74 42 6f | 74 74 6f 6d 20 ad 20 65 |f testBo|ttom . e|
|00002290| 6d 70 74 79 20 74 68 65 | 6e 0d 69 66 20 69 74 20 |mpty the|n.if it |
|000022a0| 3d 20 74 65 73 74 42 6f | 74 74 6f 6d 20 74 68 65 |= testBo|ttom the|
|000022b0| 6e 0d 67 65 74 20 74 68 | 65 62 65 67 69 6e 63 61 |n.get th|ebeginca|
|000022c0| 72 64 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |rd.if it| is empt|
|000022d0| 79 20 74 68 65 6e 20 67 | 65 74 20 74 68 65 20 6c |y then g|et the l|
|000022e0| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 63 64 20 22 |ong name| of cd "|
|000022f0| 62 65 67 69 6e 22 0d 70 | 75 73 68 20 69 74 0d 65 |begin".p|ush it.e|
|00002300| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |xit repe|at.end i|
|00002310| 66 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 69 74 20 |f.end if|.put it |
|00002320| 69 6e 74 6f 20 74 65 73 | 74 42 6f 74 74 6f 6d 0d |into tes|tBottom.|
|00002330| 65 6c 73 65 20 6e 65 78 | 74 20 72 65 70 65 61 74 |else nex|t repeat|
|00002340| 0d 65 6c 73 65 0d 70 75 | 73 68 20 69 74 0d 65 78 |.else.pu|sh it.ex|
|00002350| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00002360| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00002370| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 0d a5 a5 20 |resumeSt|ack.... |
|00002380| 50 61 6c 65 74 74 65 20 | a5 a5 0d 0d 6f 6e 20 64 |Palette |....on d|
|00002390| 6f 42 65 67 69 6e 0d 67 | 6c 6f 62 61 6c 20 62 65 |oBegin.g|lobal be|
|000023a0| 67 69 6e 0d 69 6e 69 74 | 54 69 6d 65 4f 75 74 0d |gin.init|TimeOut.|
|000023b0| 69 66 20 74 68 65 20 6f | 70 74 69 6f 6e 4b 65 79 |if the o|ptionKey|
|000023c0| 20 69 73 20 64 6f 77 6e | 20 74 68 65 6e 0d 76 69 | is down| then.vi|
|000023d0| 73 75 61 6c 20 64 69 73 | 73 6f 6c 76 65 0d 67 6f |sual dis|solve.go|
|000023e0| 20 63 64 20 31 0d 65 78 | 69 74 20 64 6f 42 65 67 | cd 1.ex|it doBeg|
|000023f0| 69 6e 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |in.end i|f.if the|
|00002400| 20 73 68 6f 72 74 20 69 | 64 20 6f 66 20 74 68 69 | short i|d of thi|
|00002410| 73 20 63 64 20 ad 20 62 | 65 67 69 6e 20 74 68 65 |s cd . b|egin the|
|00002420| 6e 0d 76 69 73 75 61 6c | 20 77 69 70 65 20 6c 65 |n.visual| wipe le|
|00002430| 66 74 20 66 61 73 74 20 | 74 6f 20 62 6c 61 63 6b |ft fast |to black|
|00002440| 0d 76 69 73 75 61 6c 20 | 65 66 66 65 63 74 20 77 |.visual |effect w|
|00002450| 69 70 65 20 72 69 67 68 | 74 20 66 61 73 74 0d 67 |ipe righ|t fast.g|
|00002460| 6f 20 63 64 20 69 64 20 | 62 65 67 69 6e 0d 72 73 |o cd id |begin.rs|
|00002470| 67 20 46 41 4c 53 45 0d | 65 6c 73 65 0d 76 69 73 |g FALSE.|else.vis|
|00002480| 75 61 6c 20 64 69 73 73 | 6f 6c 76 65 0d 67 6f 20 |ual diss|olve.go |
|00002490| 66 69 72 73 74 20 63 64 | 0d 65 6e 64 20 69 66 0d |first cd|.end if.|
|000024a0| 65 6e 64 20 64 6f 42 65 | 67 69 6e 0d 0d 6f 6e 20 |end doBe|gin..on |
|000024b0| 64 6f 48 65 6c 70 0d 67 | 6c 6f 62 61 6c 20 53 61 |doHelp.g|lobal Sa|
|000024c0| 66 4e 61 76 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |fNav.set| cursor |
|000024d0| 74 6f 20 77 61 74 63 68 | 0d 69 6e 69 74 54 69 6d |to watch|.initTim|
|000024e0| 65 4f 75 74 0d 68 65 6c | 70 42 74 6e 20 22 73 74 |eOut.hel|pBtn "st|
|000024f0| 61 72 74 22 0d 65 6e 64 | 20 64 6f 48 65 6c 70 0d |art".end| doHelp.|
|00002500| 0d 6f 6e 20 64 6f 4c 65 | 76 65 6c 0d 67 6c 6f 62 |.on doLe|vel.glob|
|00002510| 61 6c 20 62 65 67 69 6e | 2c 20 74 68 65 46 6e 64 |al begin|, theFnd|
|00002520| 4e 6d 73 2c 74 68 65 45 | 72 72 6f 72 73 0d 69 6e |Nms,theE|rrors.in|
|00002530| 69 74 54 69 6d 65 4f 75 | 74 0d 69 66 20 6e 6f 74 |itTimeOu|t.if not|
|00002540| 20 74 68 65 20 6c 6f 63 | 6b 53 63 72 65 65 6e 20 | the loc|kScreen |
|00002550| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 6c 6f 63 |then set| the loc|
|00002560| 6b 73 63 72 65 65 6e 20 | 74 6f 20 74 72 75 65 0d |kscreen |to true.|
|00002570| 2d 2d 20 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |-- set l|ockMessa|
|00002580| 67 65 73 20 74 6f 20 74 | 72 75 65 20 2d 2d 20 33 |ges to t|rue -- 3|
|00002590| 2f 31 32 0d 70 6f 70 20 | 63 61 72 64 20 69 6e 74 |/12.pop |card int|
|000025a0| 6f 20 69 74 0d 69 66 20 | 69 74 20 63 6f 6e 74 61 |o it.if |it conta|
|000025b0| 69 6e 73 20 22 3a 48 6f | 6d 65 22 20 26 20 71 75 |ins ":Ho|me" & qu|
|000025c0| 6f 74 65 20 74 68 65 6e | 0d 62 65 65 70 0d 70 75 |ote then|.beep.pu|
|000025d0| 74 20 72 65 74 75 72 6e | 20 26 20 22 64 6f 4c 65 |t return| & "doLe|
|000025e0| 76 65 6c 3a 20 70 6f 70 | 70 65 64 20 48 6f 6d 65 |vel: pop|ped Home|
|000025f0| 20 66 72 6f 6d 20 63 64 | 20 69 64 22 26 26 74 68 | from cd| id"&&th|
|00002600| 65 20 69 64 20 6f 66 20 | 74 68 69 73 20 63 64 20 |e id of |this cd |
|00002610| c2 0d 61 66 74 65 72 20 | 74 68 65 45 72 72 6f 72 |..after |theError|
|00002620| 73 0d 69 66 20 62 65 67 | 69 6e 20 69 73 20 65 6d |s.if beg|in is em|
|00002630| 70 74 79 20 74 68 65 6e | 0d 67 65 74 20 22 63 64 |pty then|.get "cd|
|00002640| 22 26 26 71 75 6f 74 65 | 26 22 62 65 67 69 6e 22 |"&"e|&"begin"|
|00002650| 26 71 75 6f 74 65 20 2d | 2d 20 65 72 72 6f 72 20 |"e -|- error |
|00002660| 63 68 65 63 6b 0d 65 6c | 73 65 20 67 65 74 20 22 |check.el|se get "|
|00002670| 63 64 20 69 64 20 22 20 | 26 20 62 65 67 69 6e 0d |cd id " |& begin.|
|00002680| 65 6e 64 20 69 66 0d 67 | 6f 20 69 74 0d 2d 2d 20 |end if.g|o it.-- |
|00002690| 2a 2a 2a 20 69 66 20 63 | 61 6e 74 4d 6f 64 28 29 |*** if c|antMod()|
|000026a0| 0d 69 66 20 77 6f 72 64 | 20 33 20 6f 66 20 69 74 |.if word| 3 of it|
|000026b0| 20 3d 20 36 37 39 34 20 | 74 68 65 6e 0d 70 75 74 | = 6794 |then.put|
|000026c0| 20 74 68 65 46 6e 64 4e | 6d 73 20 69 6e 74 6f 20 | theFndN|ms into |
|000026d0| 66 6c 64 20 69 64 20 31 | 20 2d 2d 20 22 6c 69 73 |fld id 1| -- "lis|
|000026e0| 74 22 0d 73 65 74 20 74 | 68 65 20 73 63 72 6f 6c |t".set t|he scrol|
|000026f0| 6c 20 6f 66 20 66 6c 64 | 20 69 64 20 31 20 6f 66 |l of fld| id 1 of|
|00002700| 20 74 68 69 73 20 63 64 | 20 74 6f 20 30 20 2d 2d | this cd| to 0 --|
|00002710| 20 2a 2a 2a 20 75 6e 6e | 65 63 2e 20 66 6f 72 20 | *** unn|ec. for |
|00002720| 6c 6f 63 6b 65 64 0d 73 | 65 6e 64 20 22 66 6f 72 |locked.s|end "for|
|00002730| 6d 61 74 53 72 63 68 22 | 20 74 6f 20 63 64 20 69 |matSrch"| to cd i|
|00002740| 64 20 31 32 32 36 33 20 | 2d 2d 22 4e 61 72 72 6f |d 12263 |--"Narro|
|00002750| 77 4c 69 73 74 22 0d 70 | 75 74 20 74 68 65 20 72 |wList".p|ut the r|
|00002760| 65 73 75 6c 74 20 69 6e | 74 6f 20 63 64 20 66 6c |esult in|to cd fl|
|00002770| 64 20 69 64 20 31 34 0d | 65 6e 64 20 69 66 0d 75 |d id 14.|end if.u|
|00002780| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00002790| 68 20 76 69 73 75 61 6c | 20 69 72 69 73 20 63 6c |h visual| iris cl|
|000027a0| 6f 73 65 0d 65 6e 64 20 | 64 6f 4c 65 76 65 6c 0d |ose.end |doLevel.|
|000027b0| 0d 6f 6e 20 64 6f 4e 65 | 78 74 0d 67 6c 6f 62 61 |.on doNe|xt.globa|
|000027c0| 6c 20 53 61 66 4e 61 76 | 2c 70 65 72 73 69 73 74 |l SafNav|,persist|
|000027d0| 65 6e 63 65 0d 69 6e 69 | 74 54 69 6d 65 4f 75 74 |ence.ini|tTimeOut|
|000027e0| 0d 69 66 20 70 65 72 73 | 69 73 74 65 6e 63 65 20 |.if pers|istence |
|000027f0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00002800| 74 20 31 20 69 6e 74 6f | 20 70 65 72 73 69 73 74 |t 1 into| persist|
|00002810| 65 6e 63 65 0d 65 6c 73 | 65 20 69 66 20 70 65 72 |ence.els|e if per|
|00002820| 73 69 73 74 65 6e 63 65 | 20 b2 20 33 0d 74 68 65 |sistence| . 3.the|
|00002830| 6e 0d 62 65 65 70 20 70 | 65 72 73 69 73 74 65 6e |n.beep p|ersisten|
|00002840| 63 65 0d 61 64 64 20 31 | 20 74 6f 20 70 65 72 73 |ce.add 1| to pers|
|00002850| 69 73 74 65 6e 63 65 0d | 65 6c 73 65 0d 67 65 74 |istence.|else.get|
|00002860| 20 22 54 68 69 73 20 69 | 73 20 74 68 65 20 6f 6e | "This i|s the on|
|00002870| 6c 79 20 63 61 72 64 20 | 69 6e 20 74 68 65 20 6c |ly card |in the l|
|00002880| 69 73 74 2e 20 20 22 0d | 41 6e 73 77 65 72 20 69 |ist. ".|Answer i|
|00002890| 74 20 26 20 22 50 72 65 | 73 73 20 27 42 65 67 69 |t & "Pre|ss 'Begi|
|000028a0| 6e 27 20 66 6f 72 20 61 | 20 6e 65 77 20 73 65 61 |n' for a| new sea|
|000028b0| 72 63 68 2e 22 0d 70 75 | 74 20 65 6d 70 74 79 20 |rch.".pu|t empty |
|000028c0| 69 6e 74 6f 20 70 65 72 | 73 69 73 74 65 6e 63 65 |into per|sistence|
|000028d0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 6f 4e 65 |.end if.|end doNe|
|000028e0| 78 74 0d 0d 6f 6e 20 64 | 6f 50 72 65 76 0d 67 6c |xt..on d|oPrev.gl|
|000028f0| 6f 62 61 6c 20 53 61 66 | 4e 61 76 2c 70 65 72 73 |obal Saf|Nav,pers|
|00002900| 69 73 74 65 6e 63 65 0d | 69 6e 69 74 54 69 6d 65 |istence.|initTime|
|00002910| 4f 75 74 0d 69 66 20 70 | 65 72 73 69 73 74 65 6e |Out.if p|ersisten|
|00002920| 63 65 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |ce is em|pty then|
|00002930| 20 70 75 74 20 31 20 69 | 6e 74 6f 20 70 65 72 73 | put 1 i|nto pers|
|00002940| 69 73 74 65 6e 63 65 0d | 65 6c 73 65 20 69 66 20 |istence.|else if |
|00002950| 70 65 72 73 69 73 74 65 | 6e 63 65 20 b2 20 33 0d |persiste|nce . 3.|
|00002960| 74 68 65 6e 0d 62 65 65 | 70 20 70 65 72 73 69 73 |then.bee|p persis|
|00002970| 74 65 6e 63 65 0d 61 64 | 64 20 31 20 74 6f 20 70 |tence.ad|d 1 to p|
|00002980| 65 72 73 69 73 74 65 6e | 63 65 0d 65 6c 73 65 0d |ersisten|ce.else.|
|00002990| 67 65 74 20 22 54 68 69 | 73 20 69 73 20 74 68 65 |get "Thi|s is the|
|000029a0| 20 6f 6e 6c 79 20 63 61 | 72 64 20 69 6e 20 74 68 | only ca|rd in th|
|000029b0| 65 20 6c 69 73 74 2e 20 | 20 22 0d 41 6e 73 77 65 |e list. | ".Answe|
|000029c0| 72 20 69 74 20 26 20 22 | 50 72 65 73 73 20 27 42 |r it & "|Press 'B|
|000029d0| 65 67 69 6e 27 20 66 6f | 72 20 61 20 6e 65 77 20 |egin' fo|r a new |
|000029e0| 73 65 61 72 63 68 2e 22 | 0d 70 75 74 20 65 6d 70 |search."|.put emp|
|000029f0| 74 79 20 69 6e 74 6f 20 | 70 65 72 73 69 73 74 65 |ty into |persiste|
|00002a00| 6e 63 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 |nce.end |if.end d|
|00002a10| 6f 50 72 65 76 0d 0d 6f | 6e 20 64 6f 51 75 69 74 |oPrev..o|n doQuit|
|00002a20| 0d 67 6c 6f 62 61 6c 20 | 53 61 66 4e 61 76 2c 20 |.global |SafNav, |
|00002a30| 74 68 65 46 51 75 69 74 | 74 69 6e 67 2c 20 75 73 |theFQuit|ting, us|
|00002a40| 65 72 4e 61 6d 65 0d 69 | 6e 69 74 54 69 6d 65 4f |erName.i|nitTimeO|
|00002a50| 75 74 0d 69 66 20 63 61 | 6e 51 75 69 74 28 29 0d |ut.if ca|nQuit().|
|00002a60| 74 68 65 6e 20 64 6f 4d | 65 6e 75 20 22 51 75 69 |then doM|enu "Qui|
|00002a70| 74 20 48 79 70 65 72 43 | 61 72 64 22 0d 65 6c 73 |t HyperC|ard".els|
|00002a80| 65 20 61 6e 73 77 65 72 | 20 22 53 6f 72 72 79 2c |e answer| "Sorry,|
|00002a90| 20 49 20 63 61 6e 27 74 | 20 71 75 69 74 20 68 65 | I can't| quit he|
|00002aa0| 72 65 2e 22 0d 65 6e 64 | 20 64 6f 51 75 69 74 0d |re.".end| doQuit.|
|00002ab0| 0d a5 a5 20 53 65 61 72 | 63 68 20 a5 a5 0d 0d 6f |... Sear|ch ....o|
|00002ac0| 6e 20 61 64 76 69 63 65 | 20 63 61 6c 6c 69 6e 67 |n advice| calling|
|00002ad0| 48 61 6e 64 6c 65 72 0d | 67 6c 6f 62 61 6c 20 74 |Handler.|global t|
|00002ae0| 68 65 46 53 6f 75 6e 64 | 0d 69 66 20 6e 6f 74 20 |heFSound|.if not |
|00002af0| 74 68 65 20 6c 6f 63 6b | 53 63 72 65 65 6e 20 74 |the lock|Screen t|
|00002b00| 68 65 6e 20 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |hen lock| screen.|
|00002b10| 69 66 20 74 68 65 46 53 | 6f 75 6e 64 20 74 68 65 |if theFS|ound the|
|00002b20| 6e 20 70 6c 61 79 20 22 | 61 62 79 73 73 22 0d 67 |n play "|abyss".g|
|00002b30| 6f 20 63 64 20 69 64 20 | 34 34 33 32 20 2d 2d 20 |o cd id |4432 -- |
|00002b40| 22 70 61 74 74 65 72 6e | 22 2c 20 6e 6f 74 68 69 |"pattern|", nothi|
|00002b50| 6e 67 20 66 6f 75 6e 64 | 0d 75 6e 6c 6f 63 6b 20 |ng found|.unlock |
|00002b60| 73 63 72 65 65 6e 20 77 | 69 74 68 20 73 68 72 69 |screen w|ith shri|
|00002b70| 6e 6b 20 74 6f 20 63 65 | 6e 74 65 72 0d 65 78 69 |nk to ce|nter.exi|
|00002b80| 74 20 74 6f 20 68 79 70 | 65 72 63 61 72 64 0d 65 |t to hyp|ercard.e|
|00002b90| 6e 64 20 61 64 76 69 63 | 65 0d 0d 6f 6e 20 62 6f |nd advic|e..on bo|
|00002ba0| 6f 6b 20 77 68 65 72 65 | 0d 2d 2d 2a 2a 2a 20 69 |ok where|.--*** i|
|00002bb0| 66 20 69 74 27 73 20 61 | 20 6e 75 6d 62 65 72 20 |f it's a| number |
|00002bc0| 74 68 65 6e 20 69 74 27 | 73 20 61 20 63 6f 64 65 |then it'|s a code|
|00002bd0| 0d 2d 2d 20 2d 2d 20 69 | 66 20 69 64 20 70 61 73 |.-- -- i|f id pas|
|00002be0| 73 65 64 2c 74 68 65 6e | 20 6f 6e 6c 79 20 61 73 |sed,then| only as|
|00002bf0| 20 61 20 73 74 72 69 6e | 67 20 22 69 64 20 2e 2e | a strin|g "id ..|
|00002c00| 2e 2e 22 0d 67 6c 6f 62 | 61 6c 20 74 68 65 45 72 |..".glob|al theEr|
|00002c10| 72 6f 72 73 2c 62 65 67 | 69 6e 2c 74 68 65 42 65 |rors,beg|in,theBe|
|00002c20| 67 69 6e 43 61 72 64 2c | 6e 6f 47 72 61 64 65 0d |ginCard,|noGrade.|
|00002c30| 70 75 73 68 20 63 64 0d | 73 65 74 20 63 75 72 73 |push cd.|set curs|
|00002c40| 6f 72 20 74 6f 20 6e 6f | 6e 65 0d 76 69 73 75 61 |or to no|ne.visua|
|00002c50| 6c 20 77 69 70 65 20 6c | 65 66 74 20 66 61 73 74 |l wipe l|eft fast|
|00002c60| 20 74 6f 20 62 6c 61 63 | 6b 20 2d 2d 20 76 65 72 | to blac|k -- ver|
|00002c70| 79 20 66 6f 72 20 73 69 | 3f 0d 76 69 73 75 61 6c |y for si|?.visual|
|00002c80| 20 65 66 66 65 63 74 20 | 77 69 70 65 20 72 69 67 | effect |wipe rig|
|00002c90| 68 74 20 66 61 73 74 20 | 2d 2d 20 76 65 72 79 3f |ht fast |-- very?|
|00002ca0| 0d 69 66 20 77 68 65 72 | 65 20 69 73 20 22 21 22 |.if wher|e is "!"|
|00002cb0| 20 74 68 65 6e 20 61 64 | 76 69 63 65 20 22 62 6f | then ad|vice "bo|
|00002cc0| 6f 6b 22 0d 69 66 20 77 | 68 65 72 65 20 69 73 20 |ok".if w|here is |
|00002cd0| 61 20 6e 75 6d 62 65 72 | 20 74 68 65 6e 0d 69 66 |a number| then.if|
|00002ce0| 20 77 68 65 72 65 20 3c | 20 37 30 30 20 74 68 65 | where <| 700 the|
|00002cf0| 6e 20 67 6f 20 63 64 20 | 69 64 20 63 6f 64 65 54 |n go cd |id codeT|
|00002d00| 6f 49 44 28 77 68 65 72 | 65 29 20 2d 2d 20 77 68 |oID(wher|e) -- wh|
|00002d10| 65 72 65 0d 65 6c 73 65 | 20 2d 2d 20 69 66 20 6f |ere.else| -- if o|
|00002d20| 76 65 72 20 37 30 30 20 | 69 74 73 20 61 20 63 64 |ver 700 |its a cd|
|00002d30| 20 69 64 20 6e 6f 74 20 | 61 20 63 6f 64 65 20 28 | id not |a code (|
|00002d40| 6d 65 6e 75 20 63 61 72 | 64 73 29 0d 67 6f 20 63 |menu car|ds).go c|
|00002d50| 64 20 69 64 20 77 68 65 | 72 65 0d 65 6e 64 20 69 |d id whe|re.end i|
|00002d60| 66 0d 65 6c 73 65 20 67 | 6f 20 63 64 20 77 68 65 |f.else g|o cd whe|
|00002d70| 72 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |re.set c|ursor to|
|00002d80| 20 68 61 6e 64 0d 69 66 | 20 74 68 65 20 72 65 73 | hand.if| the res|
|00002d90| 75 6c 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ult is n|ot empty|
|00002da0| 20 74 68 65 6e 0d 70 75 | 74 20 72 65 74 75 72 6e | then.pu|t return|
|00002db0| 20 26 20 22 62 6f 6f 6b | 3a 20 63 61 6e 74 20 66 | & "book|: cant f|
|00002dc0| 69 6e 64 20 2a 22 26 77 | 68 65 72 65 26 22 2a 22 |ind *"&w|here&"*"|
|00002dd0| 26 26 74 68 65 20 72 65 | 73 75 6c 74 20 61 66 74 |&&the re|sult aft|
|00002de0| 65 72 20 74 68 65 45 72 | 72 6f 72 73 0d 2d 2d 2a |er theEr|rors.--*|
|00002df0| 2a 2a 20 74 65 6c 6c 20 | 74 68 65 6d 20 3f 0d 65 |** tell |them ?.e|
|00002e00| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 20 73 68 6f |nd if.if| the sho|
|00002e10| 72 74 20 69 64 20 6f 66 | 20 74 68 69 73 20 63 64 |rt id of| this cd|
|00002e20| 20 3d 20 62 65 67 69 6e | 20 74 68 65 6e 20 70 6f | = begin| then po|
|00002e30| 70 50 6f 70 73 20 74 68 | 65 42 65 67 69 6e 43 61 |pPops th|eBeginCa|
|00002e40| 72 64 0d 65 6e 64 20 62 | 6f 6f 6b 0d 0d 66 75 6e |rd.end b|ook..fun|
|00002e50| 63 74 69 6f 6e 20 63 6f | 64 65 54 6f 49 64 20 70 |ction co|deToId p|
|00002e60| 74 72 4e 75 6d 0d 67 6c | 6f 62 61 6c 20 74 68 65 |trNum.gl|obal the|
|00002e70| 49 44 73 43 6f 64 65 73 | 2c 74 68 65 49 44 73 0d |IDsCodes|,theIDs.|
|00002e80| 70 75 74 20 6c 69 6e 65 | 20 32 20 6f 66 20 74 68 |put line| 2 of th|
|00002e90| 65 49 44 73 20 69 6e 74 | 6f 20 6e 75 6d 52 65 63 |eIDs int|o numRec|
|00002ea0| 6f 72 64 73 0d 2d 2d 70 | 75 74 20 6c 69 6e 65 20 |ords.--p|ut line |
|00002eb0| 32 20 6f 66 20 74 68 65 | 49 44 73 43 6f 64 65 73 |2 of the|IDsCodes|
|00002ec0| 20 69 6e 74 6f 20 6e 75 | 6d 52 65 63 6f 72 64 73 | into nu|mRecords|
|00002ed0| 20 2d 2d 33 2f 32 32 0d | 69 66 20 6e 75 6d 52 65 | --3/22.|if numRe|
|00002ee0| 63 6f 72 64 73 20 69 73 | 20 65 6d 70 74 79 0d 74 |cords is| empty.t|
|00002ef0| 68 65 6e 20 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |hen put |the numb|
|00002f00| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 74 |er of it|ems in t|
|00002f10| 68 65 49 44 73 20 69 6e | 74 6f 20 6e 75 6d 52 65 |heIDs in|to numRe|
|00002f20| 63 6f 72 64 73 20 2d 2d | 33 2f 31 39 0d 69 66 20 |cords --|3/19.if |
|00002f30| 70 74 72 4e 75 6d 20 69 | 73 20 6e 6f 74 20 61 20 |ptrNum i|s not a |
|00002f40| 6e 75 6d 62 65 72 20 74 | 68 65 6e 0d 70 75 74 20 |number t|hen.put |
|00002f50| 72 65 74 75 72 6e 20 26 | 20 22 45 72 72 6f 72 3a |return &| "Error:|
|00002f60| 20 70 6f 69 6e 74 65 72 | 22 20 26 26 20 63 74 20 | pointer|" && ct |
|00002f70| 26 26 20 22 2a 22 20 26 | 20 70 6f 69 6e 74 65 72 |&& "*" &| pointer|
|00002f80| 4e 75 6d 20 c2 0d 26 20 | 22 2a 20 69 73 20 6e 6f |Num ..& |"* is no|
|00002f90| 74 20 61 20 6e 75 6d 62 | 65 72 20 69 6e 20 22 26 |t a numb|er in "&|
|00002fa0| 74 68 65 54 72 61 6e 73 | 4f 62 6a 65 63 74 26 22 |theTrans|Object&"|
|00002fb0| 2e 22 20 61 66 74 65 72 | 20 74 68 65 45 72 72 6f |." after| theErro|
|00002fc0| 72 73 0d 65 6c 73 65 0d | 69 66 20 70 74 72 4e 75 |rs.else.|if ptrNu|
|00002fd0| 6d 20 3e 20 6e 75 6d 52 | 65 63 6f 72 64 73 20 74 |m > numR|ecords t|
|00002fe0| 68 65 6e 0d 70 75 74 20 | 72 65 74 75 72 6e 20 26 |hen.put |return &|
|00002ff0| 20 22 45 72 72 6f 72 3a | 20 70 6f 69 6e 74 65 72 | "Error:| pointer|
|00003000| 22 20 26 26 20 63 74 20 | 26 26 20 22 2a 22 20 26 |" && ct |&& "*" &|
|00003010| 20 70 6f 69 6e 74 65 72 | 4e 75 6d 20 c2 0d 26 22 | pointer|Num ..&"|
|00003020| 2a 20 6f 75 74 20 6f 66 | 20 72 61 6e 67 65 2e 22 |* out of| range."|
|00003030| 20 61 66 74 65 72 20 74 | 68 65 45 72 72 6f 72 73 | after t|heErrors|
|00003040| 0d 65 6c 73 65 20 69 66 | 20 70 74 72 4e 75 6d 20 |.else if| ptrNum |
|00003050| 3d 20 30 20 74 68 65 6e | 0d 70 75 74 20 72 65 74 |= 0 then|.put ret|
|00003060| 75 72 6e 20 26 20 22 45 | 72 72 6f 72 3a 20 70 6f |urn & "E|rror: po|
|00003070| 69 6e 74 65 72 22 20 26 | 26 20 63 74 20 26 26 20 |inter" &|& ct && |
|00003080| 22 2a 22 20 26 20 70 6f | 69 6e 74 65 72 4e 75 6d |"*" & po|interNum|
|00003090| 20 c2 0d 26 22 2a 20 6e | 6f 74 20 66 6f 75 6e 64 | ..&"* n|ot found|
|000030a0| 20 69 6e 20 22 26 74 68 | 65 54 72 61 6e 73 4f 62 | in "&th|eTransOb|
|000030b0| 6a 65 63 74 26 22 2e 22 | 20 61 66 74 65 72 20 74 |ject&"."| after t|
|000030c0| 68 65 45 72 72 6f 72 73 | 0d 65 6c 73 65 20 69 66 |heErrors|.else if|
|000030d0| 20 70 74 72 4e 75 6d 20 | 69 73 20 65 6d 70 74 79 | ptrNum |is empty|
|000030e0| 20 74 68 65 6e 0d 70 75 | 74 20 72 65 74 75 72 6e | then.pu|t return|
|000030f0| 20 26 20 22 45 72 72 6f | 72 3a 20 70 6f 69 6e 74 | & "Erro|r: point|
|00003100| 65 72 22 20 26 26 20 63 | 74 20 26 26 20 22 2a 22 |er" && c|t && "*"|
|00003110| 20 26 20 70 6f 69 6e 74 | 65 72 4e 75 6d 20 c2 0d | & point|erNum ..|
|00003120| 26 22 2a 20 72 65 74 75 | 72 6e 73 20 65 6d 70 74 |&"* retu|rns empt|
|00003130| 79 20 69 6e 20 22 26 74 | 68 65 54 72 61 6e 73 4f |y in "&t|heTransO|
|00003140| 62 6a 65 63 74 26 22 2e | 22 20 61 66 74 65 72 20 |bject&".|" after |
|00003150| 74 68 65 45 72 72 6f 72 | 73 0d 65 6c 73 65 20 52 |theError|s.else R|
|00003160| 45 54 55 52 4e 20 69 74 | 65 6d 20 70 74 72 4e 75 |ETURN it|em ptrNu|
|00003170| 6d 20 6f 66 20 6c 69 6e | 65 20 31 20 6f 66 20 74 |m of lin|e 1 of t|
|00003180| 68 65 49 44 73 20 2d 2d | 20 a5 a5 a5 0d 65 6e 64 |heIDs --| ....end|
|00003190| 20 69 66 0d 52 45 54 55 | 52 4e 20 65 6d 70 74 79 | if.RETU|RN empty|
|000031a0| 20 2d 2d 20 66 6f 72 20 | 61 6c 6c 20 65 72 72 6f | -- for |all erro|
|000031b0| 72 20 63 6f 6e 64 69 74 | 69 6f 6e 73 0d 65 6e 64 |r condit|ions.end|
|000031c0| 20 63 6f 64 65 54 6f 49 | 64 0d 0d 66 75 6e 63 74 | codeToI|d..funct|
|000031d0| 69 6f 6e 20 64 6f 44 69 | 73 70 6c 61 79 45 54 43 |ion doDi|splayETC|
|000031e0| 20 70 31 2c 70 32 0d 67 | 6c 6f 62 61 6c 20 74 68 | p1,p2.g|lobal th|
|000031f0| 65 46 6e 64 49 44 73 2c | 20 74 68 65 46 6e 64 4e |eFndIDs,| theFndN|
|00003200| 6d 73 2c 20 74 68 65 46 | 4e 65 77 53 65 61 72 63 |ms, theF|NewSearc|
|00003210| 68 0d 67 6c 6f 62 61 6c | 20 74 68 65 49 44 73 2c |h.global| theIDs,|
|00003220| 20 74 68 65 4e 61 6d 65 | 73 2c 20 74 68 65 45 72 | theName|s, theEr|
|00003230| 72 6f 72 73 2c 74 68 65 | 46 4c 6f 77 4d 65 6d 0d |rors,the|FLowMem.|
|00003240| 67 6c 6f 62 61 6c 20 74 | 68 65 49 44 73 43 6f 64 |global t|heIDsCod|
|00003250| 65 73 0d 70 75 74 20 70 | 31 20 69 6e 74 6f 20 73 |es.put p|1 into s|
|00003260| 6f 6d 65 49 44 73 0d 70 | 75 74 20 70 32 20 69 6e |omeIDs.p|ut p2 in|
|00003270| 74 6f 20 74 68 65 46 6e | 64 4e 6d 73 20 2d 2d 20 |to theFn|dNms -- |
|00003280| 69 6e 20 63 61 73 65 20 | 68 61 72 64 20 77 69 72 |in case |hard wir|
|00003290| 65 20 74 68 65 6d 0d 70 | 75 74 20 65 6d 70 74 79 |e them.p|ut empty|
|000032a0| 20 69 6e 74 6f 20 70 31 | 20 2d 2d 20 69 6e 20 63 | into p1| -- in c|
|000032b0| 61 73 65 20 62 75 67 20 | 64 6f 65 73 6e 27 74 20 |ase bug |doesn't |
|000032c0| 65 6d 70 74 79 20 69 74 | 20 61 6c 72 65 61 64 79 |empty it| already|
|000032d0| 0d 69 66 20 74 68 65 46 | 4c 6f 77 4d 65 6d 20 74 |.if theF|LowMem t|
|000032e0| 68 65 6e 20 65 6d 70 74 | 79 49 44 73 0d 0d 69 66 |hen empt|yIDs..if|
|000032f0| 20 74 68 65 49 44 73 20 | 69 73 20 65 6d 70 74 79 | theIDs |is empty|
|00003300| 20 4f 52 20 74 68 65 4e | 61 6d 65 73 20 69 73 20 | OR theN|ames is |
|00003310| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 72 |empty th|en.put r|
|00003320| 65 74 75 72 6e 20 26 20 | 22 64 6f 44 69 73 70 6c |eturn & |"doDispl|
|00003330| 61 79 45 54 43 3a 20 74 | 68 65 49 44 73 20 6f 72 |ayETC: t|heIDs or|
|00003340| 20 74 68 65 4e 61 6d 65 | 73 20 69 73 20 65 6d 70 | theName|s is emp|
|00003350| 74 79 22 20 c2 0d 61 66 | 74 65 72 20 74 68 65 45 |ty" ..af|ter theE|
|00003360| 72 72 6f 72 73 0d 76 69 | 73 75 61 6c 20 73 74 72 |rrors.vi|sual str|
|00003370| 65 74 63 68 20 66 72 6f | 6d 20 62 6f 74 74 6f 6d |etch fro|m bottom|
|00003380| 0d 67 6f 20 63 64 20 22 | 50 72 6f 64 75 63 74 4e |.go cd "|ProductN|
|00003390| 61 6d 65 22 0d 67 65 74 | 20 22 53 6f 72 72 79 2c |ame".get| "Sorry,|
|000033a0| 20 6e 6f 20 73 65 61 72 | 63 68 69 6e 67 20 61 76 | no sear|ching av|
|000033b0| 61 69 6c 61 62 6c 65 20 | 6e 6f 77 2e 20 20 22 0d |ailable |now. ".|
|000033c0| 41 6e 73 77 65 72 20 69 | 74 20 26 20 22 50 6c 65 |Answer i|t & "Ple|
|000033d0| 61 73 65 20 63 68 6f 6f | 73 65 20 66 72 6f 6d 20 |ase choo|se from |
|000033e0| 74 68 69 73 20 6c 69 73 | 74 20 6f 66 20 61 6c 6c |this lis|t of all|
|000033f0| 20 70 72 6f 64 75 63 74 | 73 2e 22 0d 65 78 69 74 | product|s.".exit|
|00003400| 20 64 6f 44 69 73 70 6c | 61 79 45 54 43 0d 65 6e | doDispl|ayETC.en|
|00003410| 64 20 69 66 0d 0d 69 66 | 20 73 6f 6d 65 49 44 73 |d if..if| someIDs|
|00003420| 20 ad 20 65 6d 70 74 79 | 20 41 4e 44 20 74 68 65 | . empty| AND the|
|00003430| 46 6e 64 4e 6d 73 20 3d | 20 65 6d 70 74 79 20 74 |FndNms =| empty t|
|00003440| 68 65 6e 0d 2d 2d 20 70 | 75 74 20 6c 69 6e 65 20 |hen.-- p|ut line |
|00003450| 31 20 6f 66 20 74 68 65 | 49 44 73 43 6f 64 65 73 |1 of the|IDsCodes|
|00003460| 20 69 6e 74 6f 20 78 20 | 2d 2d 20 64 65 62 75 67 | into x |-- debug|
|00003470| 0d 67 65 74 20 69 64 73 | 54 6f 4e 61 6d 65 73 28 |.get ids|ToNames(|
|00003480| 73 6f 6d 65 49 44 73 2c | 74 68 65 4e 61 6d 65 73 |someIDs,|theNames|
|00003490| 29 20 2d 2d 20 33 2f 31 | 38 0d 69 66 20 77 6f 72 |) -- 3/1|8.if wor|
|000034a0| 64 20 31 20 6f 66 20 69 | 74 20 69 73 20 22 45 72 |d 1 of i|t is "Er|
|000034b0| 72 6f 72 22 20 74 68 65 | 6e 20 67 65 74 20 65 6d |ror" the|n get em|
|000034c0| 70 74 79 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |pty.put |line 1 o|
|000034d0| 66 20 69 74 20 69 6e 74 | 6f 20 74 68 65 46 6e 64 |f it int|o theFnd|
|000034e0| 49 44 73 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |IDs.dele|te line |
|000034f0| 31 20 6f 66 20 69 74 0d | 70 75 74 20 69 74 20 69 |1 of it.|put it i|
|00003500| 6e 74 6f 20 74 68 65 46 | 6e 64 4e 6d 73 0d 65 6c |nto theF|ndNms.el|
|00003510| 73 65 20 69 66 20 74 68 | 65 46 6e 64 4e 6d 73 20 |se if th|eFndNms |
|00003520| ad 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |. empty |then put|
|00003530| 20 73 6f 6d 65 49 44 73 | 20 69 6e 74 6f 20 74 68 | someIDs| into th|
|00003540| 65 46 6e 64 49 44 73 0d | 0d 69 66 20 74 68 65 46 |eFndIDs.|.if theF|
|00003550| 6e 64 4e 6d 73 20 69 73 | 20 65 6d 70 74 79 20 74 |ndNms is| empty t|
|00003560| 68 65 6e 20 62 6f 6f 6b | 20 22 21 22 20 2d 2d 20 |hen book| "!" -- |
|00003570| 72 65 73 65 74 20 74 68 | 65 46 4e 65 77 53 65 61 |reset th|eFNewSea|
|00003580| 72 63 68 0d 65 6c 73 65 | 0d 73 65 74 20 63 75 72 |rch.else|.set cur|
|00003590| 73 6f 72 20 74 6f 20 6e | 6f 6e 65 0d 70 75 74 20 |sor to n|one.put |
|000035a0| 46 41 4c 53 45 20 69 6e | 74 6f 20 74 68 65 46 4e |FALSE in|to theFN|
|000035b0| 65 77 53 65 61 72 63 68 | 0d 70 75 73 68 20 63 64 |ewSearch|.push cd|
|000035c0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|000035d0| 63 64 20 69 64 20 36 37 | 39 34 0d 70 75 74 20 74 |cd id 67|94.put t|
|000035e0| 68 65 46 6e 64 4e 6d 73 | 20 69 6e 74 6f 20 66 6c |heFndNms| into fl|
|000035f0| 64 20 69 64 20 31 20 2d | 2d 20 22 6c 69 73 74 22 |d id 1 -|- "list"|
|00003600| 0d 73 65 74 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |.set the| scroll |
|00003610| 6f 66 20 66 6c 64 20 69 | 64 20 31 20 6f 66 20 74 |of fld i|d 1 of t|
|00003620| 68 69 73 20 63 64 20 74 | 6f 20 30 20 2d 2d 20 2a |his cd t|o 0 -- *|
|00003630| 2a 2a 20 75 6e 6e 65 63 | 2e 20 66 6f 72 20 6c 6f |** unnec|. for lo|
|00003640| 63 6b 65 64 0d 73 65 6e | 64 20 22 66 6f 72 6d 61 |cked.sen|d "forma|
|00003650| 74 53 72 63 68 22 20 74 | 6f 20 63 64 20 69 64 20 |tSrch" t|o cd id |
|00003660| 31 32 32 36 33 20 2d 2d | 22 4e 61 72 72 6f 77 4c |12263 --|"NarrowL|
|00003670| 69 73 74 22 0d 70 75 74 | 20 74 68 65 20 72 65 73 |ist".put| the res|
|00003680| 75 6c 74 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ult into| cd fld |
|00003690| 69 64 20 31 34 20 2d 2d | 22 71 75 65 72 79 22 0d |id 14 --|"query".|
|000036a0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 20 77 69 |unlock s|creen wi|
|000036b0| 74 68 20 76 69 73 75 61 | 6c 20 77 69 70 65 20 6c |th visua|l wipe l|
|000036c0| 65 66 74 20 2d 2d 20 73 | 74 72 65 74 63 68 20 66 |eft -- s|tretch f|
|000036d0| 72 6f 6d 20 62 6f 74 74 | 6f 6d 0d 65 6e 64 20 69 |rom bott|om.end i|
|000036e0| 66 0d 65 6e 64 20 64 6f | 44 69 73 70 6c 61 79 45 |f.end do|DisplayE|
|000036f0| 54 43 0d 0d 6f 6e 20 70 | 72 6f 63 65 73 73 53 65 |TC..on p|rocessSe|
|00003700| 61 72 63 68 20 69 64 4c | 69 73 74 2c 69 64 4c 69 |arch idL|ist,idLi|
|00003710| 73 74 54 79 70 65 2c 66 | 4e 65 77 53 65 61 72 63 |stType,f|NewSearc|
|00003720| 68 50 61 72 74 2c 6e 65 | 78 74 53 65 61 72 63 68 |hPart,ne|xtSearch|
|00003730| 49 44 0d 67 6c 6f 62 61 | 6c 20 74 68 65 46 4e 65 |ID.globa|l theFNe|
|00003740| 77 53 65 61 72 63 68 2c | 74 68 65 46 6e 64 49 44 |wSearch,|theFndID|
|00003750| 73 2c 74 68 65 46 4c 6f | 77 4d 65 6d 0d 2d 2d 20 |s,theFLo|wMem.-- |
|00003760| 64 6f 44 69 73 70 6c 61 | 79 45 54 43 20 77 69 6c |doDispla|yETC wil|
|00003770| 6c 20 70 75 74 20 74 68 | 65 20 49 44 73 20 66 72 |l put th|e IDs fr|
|00003780| 6f 6d 20 74 68 69 73 20 | 73 65 61 72 63 68 20 69 |om this |search i|
|00003790| 6e 74 6f 20 74 68 65 46 | 6e 64 49 44 73 0d 69 66 |nto theF|ndIDs.if|
|000037a0| 20 74 68 65 46 4e 65 77 | 53 65 61 72 63 68 20 74 | theFNew|Search t|
|000037b0| 68 65 6e 0d 69 66 20 6e | 65 78 74 53 65 61 72 63 |hen.if n|extSearc|
|000037c0| 68 49 44 20 3d 20 65 6d | 70 74 79 20 74 68 65 6e |hID = em|pty then|
|000037d0| 20 67 65 74 20 64 6f 44 | 69 73 70 6c 61 79 45 54 | get doD|isplayET|
|000037e0| 43 28 69 64 4c 69 73 74 | 29 0d 65 6c 73 65 0d 2d |C(idList|).else.-|
|000037f0| 2d 20 54 68 69 73 20 69 | 73 20 66 6f 72 20 73 65 |- This i|s for se|
|00003800| 61 72 63 68 20 73 65 71 | 75 65 6e 63 65 73 20 77 |arch seq|uences w|
|00003810| 69 74 68 20 6d 75 6c 74 | 69 70 6c 65 20 63 72 69 |ith mult|iple cri|
|00003820| 74 65 72 61 2e 0d 2d 2d | 20 53 6f 20 66 61 72 2c |tera..--| So far,|
|00003830| 20 6f 6e 6c 79 20 64 65 | 61 6c 69 6e 67 20 77 69 | only de|aling wi|
|00003840| 74 68 20 53 75 62 6a 65 | 63 74 73 20 3d 3e 20 47 |th Subje|cts => G|
|00003850| 72 61 64 65 73 2e 0d 2d | 2d 20 2a 2a 2a 20 73 6f |rades..-|- *** so|
|00003860| 20 66 61 72 20 73 6f 20 | 67 6f 6f 64 2c 20 6e 6f | far so |good, no|
|00003870| 20 73 63 72 65 65 6e 20 | 72 65 66 72 65 73 68 69 | screen |refreshi|
|00003880| 6e 67 20 72 65 71 75 69 | 72 65 64 20 6f 6e 20 67 |ng requi|red on g|
|00003890| 72 61 64 65 73 20 63 61 | 72 64 0d 70 75 74 20 69 |rades ca|rd.put i|
|000038a0| 64 4c 69 73 74 20 69 6e | 74 6f 20 74 68 65 46 6e |dList in|to theFn|
|000038b0| 64 49 44 73 0d 70 75 74 | 20 46 41 4c 53 45 20 69 |dIDs.put| FALSE i|
|000038c0| 6e 74 6f 20 74 68 65 46 | 4e 65 77 53 65 61 72 63 |nto theF|NewSearc|
|000038d0| 68 0d 2d 2d 20 2a 2a 2a | 20 65 66 66 65 63 74 73 |h.-- ***| effects|
|000038e0| 20 61 72 65 20 73 65 74 | 20 61 6c 72 65 61 64 79 | are set| already|
|000038f0| 20 69 6e 20 53 75 62 6a | 65 63 74 73 20 63 61 72 | in Subj|ects car|
|00003900| 64 2c a5 20 6e 6f 74 20 | 72 65 61 6c 6c 79 21 21 |d,. not |really!!|
|00003910| 21 3f 0d 76 69 73 75 61 | 6c 20 77 69 70 65 20 6c |!?.visua|l wipe l|
|00003920| 65 66 74 20 66 61 73 74 | 20 74 6f 20 62 6c 61 63 |eft fast| to blac|
|00003930| 6b 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |k.visual| effect |
|00003940| 77 69 70 65 20 72 69 67 | 68 74 20 66 61 73 74 0d |wipe rig|ht fast.|
|00003950| 70 75 73 68 20 63 64 0d | 67 6f 20 63 64 20 69 64 |push cd.|go cd id|
|00003960| 20 6e 65 78 74 53 65 61 | 72 63 68 49 44 0d 65 6e | nextSea|rchID.en|
|00003970| 64 20 69 66 0d 65 6c 73 | 65 0d 69 66 20 66 4e 65 |d if.els|e.if fNe|
|00003980| 77 53 65 61 72 63 68 50 | 61 72 74 20 74 68 65 6e |wSearchP|art then|
|00003990| 0d 69 66 20 74 68 65 46 | 6e 64 49 44 73 20 3d 20 |.if theF|ndIDs = |
|000039a0| 65 6d 70 74 79 20 74 68 | 65 6e 20 67 65 74 20 64 |empty th|en get d|
|000039b0| 6f 44 69 73 70 6c 61 79 | 45 74 63 28 65 6d 70 74 |oDisplay|Etc(empt|
|000039c0| 79 29 0d 65 6c 73 65 20 | 70 75 74 20 6d 61 6b 65 |y).else |put make|
|000039d0| 4c 69 73 74 28 74 68 65 | 46 6e 64 49 44 73 2c 69 |List(the|FndIDs,i|
|000039e0| 64 4c 69 73 74 2c 22 61 | 6e 64 22 29 20 69 6e 74 |dList,"a|nd") int|
|000039f0| 6f 20 74 68 65 46 6e 64 | 49 44 73 0d 67 65 74 20 |o theFnd|IDs.get |
|00003a00| 64 6f 44 69 73 70 6c 61 | 79 45 54 43 28 74 68 65 |doDispla|yETC(the|
|00003a10| 46 6e 64 49 44 73 29 0d | 65 6c 73 65 20 72 65 63 |FndIDs).|else rec|
|00003a20| 6f 6d 62 69 6e 65 53 65 | 61 72 63 68 20 69 64 4c |ombineSe|arch idL|
|00003a30| 69 73 74 54 79 70 65 0d | 65 6e 64 20 69 66 0d 65 |istType.|end if.e|
|00003a40| 6e 64 20 70 72 6f 63 65 | 73 73 53 65 61 72 63 68 |nd proce|ssSearch|
|00003a50| 0d 0d 6f 6e 20 72 65 63 | 6f 6d 62 69 6e 65 53 65 |..on rec|ombineSe|
|00003a60| 61 72 63 68 20 6e 65 77 | 53 65 61 72 63 68 54 79 |arch new|SearchTy|
|00003a70| 70 65 0d 2d 2d 20 74 68 | 69 73 20 68 61 6e 64 6c |pe.-- th|is handl|
|00003a80| 65 72 20 77 69 6c 6c 20 | 72 65 63 72 65 61 74 65 |er will |recreate|
|00003a90| 20 61 20 63 64 20 69 64 | 20 6c 69 73 74 20 66 72 | a cd id| list fr|
|00003aa0| 6f 6d 0d 2d 2d 20 74 68 | 65 20 73 65 61 72 63 68 |om.-- th|e search|
|00003ab0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 73 2c 20 65 69 74 | compone|nts, eit|
|00003ac0| 68 65 72 20 74 68 65 20 | 69 64 73 2c 20 6f 72 0d |her the |ids, or.|
|00003ad0| 2d 2d 20 66 72 6f 6d 20 | 73 63 72 61 74 63 68 2c |-- from |scratch,|
|00003ae0| 20 67 69 76 65 6e 20 74 | 68 65 20 76 61 72 69 6f | given t|he vario|
|00003af0| 75 73 20 73 70 65 63 73 | 0d 0d 67 6c 6f 62 61 6c |us specs|..global|
|00003b00| 20 74 68 65 46 6e 64 49 | 44 73 2c 20 74 68 65 45 | theFndI|Ds, theE|
|00003b10| 72 72 6f 72 73 0d 67 6c | 6f 62 61 6c 20 74 68 65 |rrors.gl|obal the|
|00003b20| 54 6f 70 69 63 49 44 73 | 2c 74 68 65 47 72 61 64 |TopicIDs|,theGrad|
|00003b30| 65 49 44 73 2c 74 68 65 | 50 75 62 49 44 73 2c 74 |eIDs,the|PubIDs,t|
|00003b40| 68 65 52 65 71 49 44 73 | 2c 74 68 65 4b 65 79 49 |heReqIDs|,theKeyI|
|00003b50| 44 73 2c 74 68 65 57 6f | 72 64 49 44 73 0d 0d 70 |Ds,theWo|rdIDs..p|
|00003b60| 75 74 20 22 74 68 65 54 | 6f 70 69 63 49 44 73 2c |ut "theT|opicIDs,|
|00003b70| 74 68 65 47 72 61 64 65 | 49 44 73 2c 74 68 65 50 |theGrade|IDs,theP|
|00003b80| 75 62 49 44 73 2c 22 20 | 26 20 c2 0d 22 74 68 65 |ubIDs," |& .."the|
|00003b90| 4b 65 79 49 44 73 2c 74 | 68 65 57 6f 72 64 49 44 |KeyIDs,t|heWordID|
|00003ba0| 73 2c 74 68 65 52 65 71 | 49 44 73 22 20 69 6e 74 |s,theReq|IDs" int|
|00003bb0| 6f 20 76 61 72 73 0d 0d | 70 75 74 20 65 6d 70 74 |o vars..|put empt|
|00003bc0| 79 20 69 6e 74 6f 20 74 | 68 65 46 6e 64 49 44 73 |y into t|heFndIDs|
|00003bd0| 20 2d 2d 20 6a 75 73 74 | 20 69 6e 20 63 61 73 65 | -- just| in case|
|00003be0| 0d 0d 70 75 74 20 54 52 | 55 45 20 69 6e 74 6f 20 |..put TR|UE into |
|00003bf0| 66 46 69 72 73 74 56 61 | 72 0d 72 65 70 65 61 74 |fFirstVa|r.repeat|
|00003c00| 20 77 69 74 68 20 63 74 | 20 3d 20 31 20 74 6f 20 | with ct| = 1 to |
|00003c10| 36 0d 67 65 74 20 69 74 | 65 6d 20 63 74 20 6f 66 |6.get it|em ct of|
|00003c20| 20 76 61 72 73 0d 64 6f | 20 22 70 75 74 22 20 26 | vars.do| "put" &|
|00003c30| 26 20 69 74 20 26 26 20 | 22 69 6e 74 6f 20 74 68 |& it && |"into th|
|00003c40| 69 73 56 61 72 22 0d 0d | 69 66 20 74 68 69 73 56 |isVar"..|if thisV|
|00003c50| 61 72 20 ad 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |ar . emp|ty then.|
|00003c60| 69 66 20 66 46 69 72 73 | 74 56 61 72 20 74 68 65 |if fFirs|tVar the|
|00003c70| 6e 0d 70 75 74 20 74 68 | 69 73 56 61 72 20 69 6e |n.put th|isVar in|
|00003c80| 74 6f 20 74 68 65 46 6e | 64 49 44 73 0d 70 75 74 |to theFn|dIDs.put|
|00003c90| 20 46 41 4c 53 45 20 69 | 6e 74 6f 20 66 46 69 72 | FALSE i|nto fFir|
|00003ca0| 73 74 56 61 72 0d 65 6c | 73 65 20 70 75 74 20 6d |stVar.el|se put m|
|00003cb0| 61 6b 65 4c 69 73 74 28 | 74 68 65 46 6e 64 49 44 |akeList(|theFndID|
|00003cc0| 73 2c 74 68 69 73 56 61 | 72 2c 22 41 4e 44 22 29 |s,thisVa|r,"AND")|
|00003cd0| 20 69 6e 74 6f 20 74 68 | 65 46 6e 64 49 44 73 0d | into th|eFndIDs.|
|00003ce0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00003cf0| 74 0d 0d 69 66 20 74 68 | 65 46 6e 64 49 44 73 20 |t..if th|eFndIDs |
|00003d00| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 67 65 74 |= empty |then.get|
|00003d10| 20 72 65 74 75 72 6e 20 | 26 20 22 52 65 63 6f 6d | return |& "Recom|
|00003d20| 62 69 6e 65 53 65 61 72 | 63 68 2c 20 77 69 74 68 |bineSear|ch, with|
|00003d30| 22 20 26 26 20 6e 65 77 | 53 65 61 72 63 68 54 79 |" && new|SearchTy|
|00003d40| 70 65 20 26 26 20 22 73 | 65 61 72 63 68 22 0d 70 |pe && "s|earch".p|
|00003d50| 75 74 20 69 74 20 26 26 | 20 22 2c 20 66 69 6e 64 |ut it &&| ", find|
|00003d60| 73 20 6e 6f 20 76 61 72 | 73 20 74 6f 20 63 6f 6d |s no var|s to com|
|00003d70| 62 69 6e 65 2e 22 20 61 | 66 74 65 72 20 74 68 65 |bine." a|fter the|
|00003d80| 45 72 72 6f 72 73 0d 65 | 6e 64 20 69 66 0d 0d 67 |Errors.e|nd if..g|
|00003d90| 65 74 20 64 6f 44 69 73 | 70 6c 61 79 45 54 43 28 |et doDis|playETC(|
|00003da0| 74 68 65 46 6e 64 49 44 | 73 29 0d 65 6e 64 20 72 |theFndID|s).end r|
|00003db0| 65 63 6f 6d 62 69 6e 65 | 53 65 61 72 63 68 0d 0d |ecombine|Search..|
|00003dc0| 6f 6e 20 72 73 67 20 66 | 52 65 73 65 74 43 61 72 |on rsg f|ResetCar|
|00003dd0| 64 73 0d 2d 2d 70 75 74 | 20 74 68 65 20 74 69 63 |ds.--put| the tic|
|00003de0| 6b 73 20 69 6e 74 6f 20 | 73 54 69 63 6b 73 0d 73 |ks into |sTicks.s|
|00003df0| 65 6e 64 20 22 72 65 73 | 65 74 53 65 61 72 63 68 |end "res|etSearch|
|00003e00| 47 6c 6f 62 73 22 26 26 | 20 66 52 65 73 65 74 43 |Globs"&&| fResetC|
|00003e10| 61 72 64 73 20 74 6f 20 | 63 64 20 31 0d 2d 2d 70 |ards to |cd 1.--p|
|00003e20| 75 74 20 74 68 65 20 74 | 69 63 6b 73 20 2d 20 73 |ut the t|icks - s|
|00003e30| 54 69 63 6b 73 20 26 26 | 20 22 74 69 63 6b 73 20 |Ticks &&| "ticks |
|00003e40| 74 6f 20 63 6f 6d 70 6c | 65 74 65 2e 22 0d 65 6e |to compl|ete.".en|
|00003e50| 64 20 72 73 67 0d 0d a5 | a5 20 42 75 62 62 6c 65 |d rsg...|. Bubble|
|00003e60| 20 48 65 6c 70 20 a5 a5 | 20 28 73 65 65 20 61 6c | Help ..| (see al|
|00003e70| 73 6f 20 64 6f 48 65 6c | 70 20 73 63 72 20 61 62 |so doHel|p scr ab|
|00003e80| 6f 76 65 29 0d 0d 2d 2d | 20 73 65 6e 64 20 74 68 |ove)..--| send th|
|00003e90| 65 20 70 61 6c 65 74 74 | 65 20 74 6f 20 69 74 73 |e palett|e to its|
|00003ea0| 20 68 6f 6d 65 20 70 6f | 73 69 74 69 6f 6e 20 28 | home po|sition (|
|00003eb0| 73 6f 20 68 65 6c 70 20 | 63 61 6e 20 66 69 6e 64 |so help |can find|
|00003ec0| 20 69 74 29 0d 2d 2d 20 | 72 65 74 75 72 6e 20 74 | it).-- |return t|
|00003ed0| 68 65 20 61 70 70 72 6f | 78 69 6d 61 74 65 20 63 |he appro|ximate c|
|00003ee0| 6f 6e 74 65 72 20 6f 66 | 20 28 69 6e 20 6c 6f 63 |onter of| (in loc|
|00003ef0| 61 6c 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 29 0d |al coord|inates).|
|00003f00| 2d 2d 20 6f 66 20 74 68 | 65 20 62 75 74 74 6f 6e |-- of th|e button|
|00003f10| 20 74 68 61 74 20 73 74 | 61 72 74 73 20 74 68 65 | that st|arts the|
|00003f20| 20 68 65 6c 70 20 73 79 | 73 74 65 6d 2e 0d 2d 2d | help sy|stem..--|
|00003f30| 20 54 68 65 20 68 65 6c | 70 20 74 61 72 67 65 74 | The hel|p target|
|00003f40| 20 75 6e 64 65 72 20 74 | 68 69 73 20 70 6f 69 6e | under t|his poin|
|00003f50| 74 20 77 69 6c 6c 20 61 | 63 74 69 76 61 74 65 20 |t will a|ctivate |
|00003f60| 61 20 62 75 62 62 6c 65 | 20 74 68 61 74 0d 2d 2d |a bubble| that.--|
|00003f70| 20 65 78 70 6c 61 69 6e | 73 20 74 68 65 20 75 73 | explain|s the us|
|00003f80| 65 20 6f 66 20 74 68 65 | 20 68 65 6c 70 20 73 79 |e of the| help sy|
|00003f90| 73 74 65 6d 20 61 6e 64 | 20 70 72 6f 76 69 64 65 |stem and| provide|
|00003fa0| 73 20 61 6e 20 69 6e 74 | 72 6f 64 75 63 74 69 6f |s an int|roductio|
|00003fb0| 6e 0d 2d 2d 20 74 6f 20 | 74 68 65 20 63 75 72 72 |n.-- to |the curr|
|00003fc0| 65 6e 74 20 63 61 72 64 | 2e 20 20 54 68 69 73 20 |ent card|. This |
|00003fd0| 73 61 6d 65 20 74 61 72 | 67 65 74 20 69 73 20 63 |same tar|get is c|
|00003fe0| 6c 69 63 6b 65 64 20 61 | 67 61 69 6e 20 74 6f 20 |licked a|gain to |
|00003ff0| 63 6c 6f 73 65 0d 2d 2d | 20 68 65 6c 70 2e 0d 2d |close.--| help..-|
|00004000| 2d 20 43 61 6c 6c 65 64 | 20 66 72 6f 6d 20 6f 70 |- Called| from op|
|00004010| 65 6e 53 74 61 63 6b 2c | 20 68 65 6c 70 42 74 6e |enStack,| helpBtn|
|00004020| 20 61 6e 64 20 61 6e 79 | 20 6f 74 68 65 72 20 68 | and any| other h|
|00004030| 61 6e 64 6c 65 72 20 74 | 68 61 74 20 72 65 73 65 |andler t|hat rese|
|00004040| 74 73 20 70 61 6c 65 74 | 74 65 0d 0d 66 75 6e 63 |ts palet|te..func|
|00004050| 74 69 6f 6e 20 68 65 6c | 70 50 61 6c 65 74 74 65 |tion hel|pPalette|
|00004060| 4c 6f 63 0d 67 6c 6f 62 | 61 6c 20 53 61 66 4e 61 |Loc.glob|al SafNa|
|00004070| 76 2d 2d 2c 70 61 6c 70 | 6f 73 0d 67 65 74 20 22 |v--,palp|os.get "|
|00004080| 35 31 33 2c 30 22 2d 2d | 35 37 34 2c 33 33 0d 50 |513,0"--|574,33.P|
|00004090| 61 6c 65 74 74 65 20 53 | 61 66 4e 61 76 2c 69 74 |alette S|afNav,it|
|000040a0| 2d 2d 70 61 6c 70 6f 73 | 0d 61 64 64 20 36 31 20 |--palpos|.add 61 |
|000040b0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 0d |to item |1 of it.|
|000040c0| 61 64 64 20 33 33 20 74 | 6f 20 69 74 65 6d 20 32 |add 33 t|o item 2|
|000040d0| 20 6f 66 20 69 74 0d 52 | 45 54 55 52 4e 20 69 74 | of it.R|ETURN it|
|000040e0| 0d 65 6e 64 20 68 65 6c | 70 50 61 6c 65 74 74 65 |.end hel|pPalette|
|000040f0| 4c 6f 63 0d 0d 2d 2d 20 | 6d 73 67 20 66 72 6f 6d |Loc..-- |msg from|
|00004100| 20 70 61 6c 65 74 74 65 | 0d 2d 2d 20 52 65 74 75 | palette|.-- Retu|
|00004110| 72 6e 20 74 72 75 65 20 | 69 66 20 74 68 65 20 68 |rn true |if the h|
|00004120| 65 6c 70 20 62 75 74 74 | 6f 6e 20 73 68 6f 77 73 |elp butt|on shows|
|00004130| 20 74 68 61 74 20 68 65 | 6c 70 20 69 73 20 61 63 | that he|lp is ac|
|00004140| 74 69 76 65 2e 0d 2d 2d | 20 49 66 20 74 68 65 20 |tive..--| If the |
|00004150| 69 6e 70 75 74 20 61 72 | 67 75 6d 65 6e 74 20 69 |input ar|gument i|
|00004160| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004170| 20 73 65 74 20 74 68 65 | 20 68 65 6c 70 20 62 75 | set the| help bu|
|00004180| 74 74 6f 6e 20 74 6f 0d | 2d 2d 20 6c 6f 6f 6b 20 |tton to.|-- look |
|00004190| 61 63 74 69 76 65 20 28 | 6f 70 65 6e 46 6c 61 67 |active (|openFlag|
|000041a0| 3d 74 72 75 65 29 20 6f | 72 20 69 6e 61 63 74 69 |=true) o|r inacti|
|000041b0| 76 65 20 28 6f 70 65 6e | 46 6c 61 67 3d 66 61 6c |ve (open|Flag=fal|
|000041c0| 73 65 29 2e 0d 2d 2d 20 | 43 61 6c 6c 65 64 20 66 |se)..-- |Called f|
|000041d0| 72 6f 6d 20 68 65 6c 70 | 42 74 6e 20 61 6e 64 20 |rom help|Btn and |
|000041e0| 73 65 6e 74 20 66 72 6f | 6d 20 65 64 69 74 48 65 |sent fro|m editHe|
|000041f0| 6c 70 20 63 61 72 64 2e | 0d 2d 2d 0d 6f 6e 20 6f |lp card.|.--.on o|
|00004200| 70 65 6e 48 65 6c 70 49 | 63 6f 6e 20 6f 70 65 6e |penHelpI|con open|
|00004210| 46 6c 61 67 0d 67 6c 6f | 62 61 6c 20 70 61 6c 53 |Flag.glo|bal palS|
|00004220| 74 61 72 74 4c 6f 63 2c | 20 53 61 66 4e 61 76 0d |tartLoc,| SafNav.|
|00004230| 2d 2d 20 70 61 6c 53 74 | 61 72 74 4c 6f 63 20 73 |-- palSt|artLoc s|
|00004240| 61 76 65 73 20 6c 6f 63 | 20 6f 66 20 70 61 6c 20 |aves loc| of pal |
|00004250| 77 68 65 6e 20 6f 70 65 | 6e 65 64 20 68 65 6c 70 |when ope|ned help|
|00004260| 2c 20 69 6e 20 63 61 73 | 65 20 6d 6f 76 65 64 2e |, in cas|e moved.|
|00004270| 0d 69 66 20 6f 70 65 6e | 46 6c 61 67 3d 65 6d 70 |.if open|Flag=emp|
|00004280| 74 79 0d 74 68 65 6e 20 | 52 45 54 55 52 4e 20 28 |ty.then |RETURN (|
|00004290| 74 68 65 20 68 69 6c 69 | 74 65 64 42 75 74 74 6f |the hili|tedButto|
|000042a0| 6e 20 6f 66 20 77 69 6e | 64 6f 77 20 53 61 66 4e |n of win|dow SafN|
|000042b0| 61 76 29 20 3d 20 31 0d | 2d 2d 2a 2a 2a 20 62 72 |av) = 1.|--*** br|
|000042c0| 65 61 6b 73 20 6e 65 77 | 20 68 65 6c 70 20 65 6e |eaks new| help en|
|000042d0| 74 72 79 0d 69 66 20 6f | 70 65 6e 46 6c 61 67 20 |try.if o|penFlag |
|000042e0| 74 68 65 6e 0d 67 65 74 | 20 31 20 2d 2d 20 32 20 |then.get| 1 -- 2 |
|000042f0| 66 6f 72 20 6f 6c 64 20 | 70 61 6c 65 74 74 65 0d |for old |palette.|
|00004300| 73 65 74 20 74 68 65 20 | 63 75 72 73 6f 72 20 74 |set the |cursor t|
|00004310| 6f 20 6e 6f 6e 65 0d 70 | 75 74 20 74 68 65 20 6c |o none.p|ut the l|
|00004320| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 53 61 66 |oc of wi|ndow Saf|
|00004330| 4e 61 76 20 69 6e 74 6f | 20 70 61 6c 53 74 61 72 |Nav into| palStar|
|00004340| 74 4c 6f 63 0d 65 6c 73 | 65 0d 67 65 74 20 30 0d |tLoc.els|e.get 0.|
|00004350| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 77 |set the |loc of w|
|00004360| 69 6e 64 6f 77 20 53 61 | 66 4e 61 76 20 74 6f 20 |indow Sa|fNav to |
|00004370| 70 61 6c 53 74 61 72 74 | 4c 6f 63 0d 65 6e 64 20 |palStart|Loc.end |
|00004380| 69 66 0d 73 65 74 20 68 | 69 6c 69 74 65 64 42 75 |if.set h|ilitedBu|
|00004390| 74 74 6f 6e 20 6f 66 20 | 77 69 6e 64 6f 77 20 53 |tton of |window S|
|000043a0| 61 66 4e 61 76 20 74 6f | 20 69 74 0d 52 45 54 55 |afNav to| it.RETU|
|000043b0| 52 4e 20 6f 70 65 6e 46 | 6c 61 67 0d 65 6e 64 20 |RN openF|lag.end |
|000043c0| 6f 70 65 6e 48 65 6c 70 | 49 63 6f 6e 0d 0d 0d 2d |openHelp|Icon...-|
|000043d0| 2d 0d 2d 2d 20 48 79 70 | 65 72 43 61 72 64 20 42 |-.-- Hyp|erCard B|
|000043e0| 75 62 62 6c 65 20 48 65 | 6c 70 20 2d 2d 20 52 55 |ubble He|lp -- RU|
|000043f0| 4e 54 49 4d 45 20 76 65 | 72 73 69 6f 6e 0d 2d 2d |NTIME ve|rsion.--|
|00004400| 20 a9 ca 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 | ..Copyr|ight 199|
|00004410| 30 20 62 79 20 52 61 6e | 64 61 6c 20 4a 6f 6e 65 |0 by Ran|dal Jone|
|00004420| 73 0d 2d 2d 20 56 65 72 | 73 69 6f 6e 20 30 2e 39 |s.-- Ver|sion 0.9|
|00004430| 62 33 3b 20 41 75 67 20 | 33 2c 20 31 39 39 30 0d |b3; Aug |3, 1990.|
|00004440| 0d 2d 2d 0d 2d 2d 20 53 | 65 6e 74 20 66 72 6f 6d |.--.-- S|ent from|
|00004450| 20 68 65 6c 70 20 62 75 | 74 74 6f 6e 2e 0d 2d 2d | help bu|tton..--|
|00004460| 20 63 6d 64 3d 22 73 74 | 61 72 74 22 20 6f 72 20 | cmd="st|art" or |
|00004470| 22 73 74 6f 70 22 20 6f | 72 20 65 6d 70 74 79 20 |"stop" o|r empty |
|00004480| 28 77 68 69 63 68 20 74 | 6f 67 67 6c 65 73 0d 2d |(which t|oggles.-|
|00004490| 2d 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 73 74 |- the cu|rrent st|
|000044a0| 61 74 65 20 6f 66 20 74 | 68 65 20 68 65 6c 70 20 |ate of t|he help |
|000044b0| 62 75 74 74 6f 6e 29 0d | 2d 2d 0d 6f 6e 20 68 65 |button).|--.on he|
|000044c0| 6c 70 42 74 6e 20 63 6d | 64 0d 67 6c 6f 62 61 6c |lpBtn cm|d.global|
|000044d0| 20 68 65 6c 70 4c 69 73 | 74 2c 68 65 6c 70 53 79 | helpLis|t,helpSy|
|000044e0| 6d 73 2c 53 61 66 4e 61 | 76 0d 67 6c 6f 62 61 6c |ms,SafNa|v.global|
|000044f0| 20 74 68 65 46 54 6f 75 | 63 68 53 63 72 65 65 6e | theFTou|chScreen|
|00004500| 0d 0d 2d 2d 70 61 73 73 | 20 63 6d 64 20 74 6f 20 |..--pass| cmd to |
|00004510| 65 64 69 74 48 65 6c 70 | 20 69 66 20 61 76 61 69 |editHelp| if avai|
|00004520| 6c 61 62 6c 65 20 61 6e | 64 20 69 6e 20 70 67 6d |lable an|d in pgm|
|00004530| 72 20 6d 6f 64 65 0d 0d | 69 66 20 74 68 65 20 75 |r mode..|if the u|
|00004540| 73 65 72 4c 65 76 65 6c | 20 3d 20 35 20 74 68 65 |serLevel| = 5 the|
|00004550| 6e 0d 69 66 20 22 3a 65 | 64 69 74 48 65 6c 70 20 |n.if ":e|ditHelp |
|00004560| 30 2e 39 22 20 26 20 72 | 65 74 75 72 6e 20 69 73 |0.9" & r|eturn is|
|00004570| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 73 49 6e | in the |stacksIn|
|00004580| 55 73 65 20 26 20 72 65 | 74 75 72 6e 20 74 68 65 |Use & re|turn the|
|00004590| 6e 0d 50 41 53 53 20 68 | 65 6c 70 42 74 6e 0d 65 |n.PASS h|elpBtn.e|
|000045a0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 0d 73 65 |nd if.en|d if..se|
|000045b0| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|000045c0| 6e 6f 6e 65 0d 0d 69 66 | 20 63 6d 64 3d 65 6d 70 |none..if| cmd=emp|
|000045d0| 74 79 20 74 68 65 6e 0d | 73 65 6e 64 20 22 6f 70 |ty then.|send "op|
|000045e0| 65 6e 48 65 6c 70 49 63 | 6f 6e 22 20 74 6f 20 74 |enHelpIc|on" to t|
|000045f0| 68 69 73 20 63 64 0d 69 | 66 20 74 68 65 20 72 65 |his cd.i|f the re|
|00004600| 73 75 6c 74 20 ad 20 74 | 72 75 65 20 74 68 65 6e |sult . t|rue then|
|00004610| 20 70 75 74 20 22 73 74 | 61 72 74 22 20 69 6e 74 | put "st|art" int|
|00004620| 6f 20 63 6d 64 0d 65 6e | 64 20 69 66 0d 0d 69 66 |o cmd.en|d if..if|
|00004630| 20 63 6d 64 3d 22 73 74 | 61 72 74 22 20 74 68 65 | cmd="st|art" the|
|00004640| 6e 0d 2d 2d 6f 70 65 6e | 0d 73 65 6e 64 20 22 6f |n.--open|.send "o|
|00004650| 70 65 6e 48 65 6c 70 49 | 63 6f 6e 20 74 72 75 65 |penHelpI|con true|
|00004660| 22 20 74 6f 20 74 68 69 | 73 20 63 64 20 2d 2d 2d |" to thi|s cd ---|
|00004670| 2a 2a 2a 2a 20 68 69 64 | 65 20 77 69 6e 64 6f 77 |**** hid|e window|
|00004680| 73 20 6f 6e 20 74 68 69 | 73 20 6d 73 67 0d 0d 2d |s on thi|s msg..-|
|00004690| 2d 6c 6f 61 64 0d 67 65 | 74 20 73 63 72 69 70 74 |-load.ge|t script|
|000046a0| 20 6f 66 20 66 6c 64 20 | 48 65 6c 70 4c 69 73 74 | of fld |HelpList|
|000046b0| 46 6c 64 20 2d 2d 20 2a | 2a 2a 0d 70 75 74 20 78 |Fld -- *|**.put x|
|000046c0| 45 76 61 6c 28 48 65 6c | 70 4c 69 73 74 46 6c 64 |Eval(Hel|pListFld|
|000046d0| 29 20 26 20 72 65 74 75 | 72 6e 20 26 20 6c 69 6e |) & retu|rn & lin|
|000046e0| 65 20 32 20 74 6f 20 39 | 39 39 20 6f 66 20 69 74 |e 2 to 9|99 of it|
|000046f0| 20 69 6e 74 6f 20 68 65 | 6c 70 4c 69 73 74 0d 69 | into he|lpList.i|
|00004700| 66 20 68 65 6c 70 4c 69 | 73 74 3d 65 6d 70 74 79 |f helpLi|st=empty|
|00004710| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 53 6f | then.an|swer "So|
|00004720| 72 72 79 2c 20 6e 6f 20 | 68 65 6c 70 20 61 76 61 |rry, no |help ava|
|00004730| 69 6c 61 62 6c 65 20 66 | 6f 72 20 74 68 69 73 20 |ilable f|or this |
|00004740| 63 61 72 64 22 20 77 69 | 74 68 20 22 4f 4b 22 0d |card" wi|th "OK".|
|00004750| 65 78 69 74 20 68 65 6c | 70 42 74 6e 0d 65 6c 73 |exit hel|pBtn.els|
|00004760| 65 0d 2d 2d 72 75 6e 0d | 68 69 64 65 20 6d 73 67 |e.--run.|hide msg|
|00004770| 0d 70 75 74 20 68 65 6c | 70 50 61 6c 65 74 74 65 |.put hel|pPalette|
|00004780| 4c 6f 63 28 29 20 69 6e | 74 6f 20 70 74 20 2d 2d |Loc() in|to pt --|
|00004790| 20 6c 6f 63 20 6f 66 20 | 68 65 6c 70 20 62 74 6e | loc of |help btn|
|000047a0| 20 6f 6e 20 70 61 6c 65 | 74 74 65 0d 69 66 20 74 | on pale|tte.if t|
|000047b0| 68 65 46 54 6f 75 63 68 | 53 63 72 65 65 6e 20 74 |heFTouch|Screen t|
|000047c0| 68 65 6e 20 67 65 74 20 | 63 6c 69 63 6b 4d 6f 64 |hen get |clickMod|
|000047d0| 65 42 75 62 62 6c 65 48 | 65 6c 70 28 22 68 65 6c |eBubbleH|elp("hel|
|000047e0| 70 4c 69 73 74 22 2c 70 | 74 2c 2d 31 2c 68 65 6c |pList",p|t,-1,hel|
|000047f0| 70 53 79 6d 73 29 0d 65 | 6c 73 65 20 67 65 74 20 |pSyms).e|lse get |
|00004800| 72 75 6e 42 75 62 62 6c | 65 48 65 6c 70 28 22 68 |runBubbl|eHelp("h|
|00004810| 65 6c 70 4c 69 73 74 22 | 2c 70 74 2c 2d 31 2c 68 |elpList"|,pt,-1,h|
|00004820| 65 6c 70 53 79 6d 73 29 | 0d 0d 69 66 20 69 74 65 |elpSyms)|..if ite|
|00004830| 6d 20 34 20 6f 66 20 69 | 74 20 3d 20 74 72 75 65 |m 4 of i|t = true|
|00004840| 0d 74 68 65 6e 20 77 61 | 69 74 20 77 68 69 6c 65 |.then wa|it while|
|00004850| 20 74 68 65 20 6d 6f 75 | 73 65 43 6c 69 63 6b 20 | the mou|seClick |
|00004860| 2d 2d 65 61 74 20 63 6c | 69 63 6b 73 20 6f 76 65 |--eat cl|icks ove|
|00004870| 72 20 68 65 6c 70 20 62 | 74 6e 0d 65 6e 64 20 69 |r help b|tn.end i|
|00004880| 66 0d 65 6e 64 20 69 66 | 0d 0d 2d 2d 65 6e 64 0d |f.end if|..--end.|
|00004890| 73 65 74 20 74 68 65 20 | 63 75 72 73 6f 72 20 74 |set the |cursor t|
|000048a0| 6f 20 6e 6f 6e 65 0d 73 | 65 6e 64 20 22 6f 70 65 |o none.s|end "ope|
|000048b0| 6e 48 65 6c 70 49 63 6f | 6e 20 66 61 6c 73 65 22 |nHelpIco|n false"|
|000048c0| 20 74 6f 20 74 68 69 73 | 20 63 64 20 2d 2d 2d 2a | to this| cd ---*|
|000048d0| 2a 2a 2a 20 73 68 6f 77 | 20 77 69 6e 64 6f 77 73 |*** show| windows|
|000048e0| 20 6f 6e 20 74 68 69 73 | 20 6d 73 67 0d 70 75 74 | on this| msg.put|
|000048f0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 68 65 6c 70 | empty i|nto help|
|00004900| 4c 69 73 74 0d 65 6e 64 | 20 68 65 6c 70 42 74 6e |List.end| helpBtn|
|00004910| 0d 0d 2d 2d 0d 2d 2d 20 | 43 61 6c 6c 20 62 61 63 |..--.-- |Call bac|
|00004920| 6b 20 66 72 6f 6d 20 65 | 78 74 65 72 6e 61 6c 73 |k from e|xternals|
|00004930| 20 74 6f 20 73 68 6f 77 | 20 70 72 6f 67 72 61 6d | to show| program|
|00004940| 6d 69 6e 67 20 61 6e 64 | 20 6d 65 6d 6f 72 79 20 |ming and| memory |
|00004950| 65 72 72 6f 72 73 2e 0d | 2d 2d 20 55 73 65 72 73 |errors..|-- Users|
|00004960| 20 73 68 6f 75 6c 64 20 | 6e 65 76 65 72 20 73 65 | should |never se|
|00004970| 65 20 61 20 64 69 61 6c | 6f 67 20 66 72 6f 6d 20 |e a dial|og from |
|00004980| 74 68 69 73 20 68 61 6e | 64 6c 65 72 2e 0d 2d 2d |this han|dler..--|
|00004990| 0d 66 75 6e 63 74 69 6f | 6e 20 74 65 73 74 58 45 |.functio|n testXE|
|000049a0| 72 72 6f 72 20 78 4e 61 | 6d 65 2c 63 6f 6e 74 69 |rror xNa|me,conti|
|000049b0| 6e 0d 69 66 20 74 68 65 | 20 75 73 65 72 4c 65 76 |n.if the| userLev|
|000049c0| 65 6c 20 3d 20 35 20 74 | 68 65 6e 0d 67 6c 6f 62 |el = 5 t|hen.glob|
|000049d0| 61 6c 20 67 58 45 72 72 | 6f 72 2c 67 4f 6c 64 58 |al gXErr|or,gOldX|
|000049e0| 45 72 72 6f 72 73 2c 67 | 45 72 72 43 6e 74 2c 67 |Errors,g|ErrCnt,g|
|000049f0| 45 72 72 4b 69 6c 6c 0d | 2d 2d 20 49 66 20 74 6f |ErrKill.|-- If to|
|00004a00| 6f 20 6d 61 6e 79 20 6c | 69 6e 65 73 20 62 75 69 |o many l|ines bui|
|00004a10| 6c 64 20 75 70 2c 20 73 | 68 6f 77 20 74 68 65 6d |ld up, s|how them|
|00004a20| 20 69 6e 20 61 20 6c 6f | 6f 70 0d 72 65 70 65 61 | in a lo|op.repea|
|00004a30| 74 20 77 68 69 6c 65 20 | 28 6e 75 6d 62 65 72 20 |t while |(number |
|00004a40| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 67 58 45 72 |of lines| in gXEr|
|00004a50| 72 6f 72 29 20 3e 20 33 | 0d 70 75 74 20 6c 69 6e |ror) > 3|.put lin|
|00004a60| 65 20 31 20 74 6f 20 33 | 20 6f 66 20 67 58 45 72 |e 1 to 3| of gXEr|
|00004a70| 72 6f 72 20 69 6e 74 6f | 20 70 61 72 74 69 61 6c |ror into| partial|
|00004a80| 0d 61 6e 73 77 65 72 20 | 58 4e 61 6d 65 20 26 20 |.answer |XName & |
|00004a90| 22 20 73 61 79 73 3a 22 | 20 26 20 72 65 74 75 72 |" says:"| & retur|
|00004aa0| 6e 20 26 20 70 61 72 74 | 69 61 6c 20 77 69 74 68 |n & part|ial with|
|00004ab0| 20 22 6d 6f 72 65 2e 2e | 2e 22 0d 70 75 74 20 70 | "more..|.".put p|
|00004ac0| 61 72 74 69 61 6c 20 61 | 66 74 65 72 20 67 4f 6c |artial a|fter gOl|
|00004ad0| 64 45 72 72 6f 72 73 0d | 64 65 6c 65 74 65 20 6c |dErrors.|delete l|
|00004ae0| 69 6e 65 20 31 20 74 6f | 20 33 20 6f 66 20 67 58 |ine 1 to| 3 of gX|
|00004af0| 45 72 72 6f 72 0d 65 6e | 64 20 72 65 70 65 61 74 |Error.en|d repeat|
|00004b00| 0d 0d 69 66 20 28 63 6f | 6e 74 69 6e 3d 74 72 75 |..if (co|ntin=tru|
|00004b10| 65 29 0d 74 68 65 6e 20 | 61 6e 73 77 65 72 20 58 |e).then |answer X|
|00004b20| 4e 61 6d 65 20 26 20 22 | 20 73 61 79 73 3a 22 20 |Name & "| says:" |
|00004b30| 26 20 72 65 74 75 72 6e | 20 26 20 67 58 45 72 72 |& return| & gXErr|
|00004b40| 6f 72 20 77 69 74 68 20 | 22 43 61 6e 63 65 6c 22 |or with |"Cancel"|
|00004b50| 20 6f 72 20 22 43 6f 6e | 74 69 6e 75 65 22 0d 65 | or "Con|tinue".e|
|00004b60| 6c 73 65 20 61 6e 73 77 | 65 72 20 58 4e 61 6d 65 |lse answ|er XName|
|00004b70| 20 26 20 22 20 73 61 79 | 73 3a 22 20 26 20 72 65 | & " say|s:" & re|
|00004b80| 74 75 72 6e 20 26 20 67 | 58 45 72 72 6f 72 20 77 |turn & g|XError w|
|00004b90| 69 74 68 20 22 43 61 6e | 63 65 6c 22 0d 0d 70 75 |ith "Can|cel"..pu|
|00004ba0| 74 20 67 58 45 72 72 6f | 72 20 26 20 72 65 74 75 |t gXErro|r & retu|
|00004bb0| 72 6e 20 61 66 74 65 72 | 20 67 4f 6c 64 58 45 72 |rn after| gOldXEr|
|00004bc0| 72 6f 72 73 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |rors.put| empty i|
|00004bd0| 6e 74 6f 20 67 58 45 72 | 72 6f 72 0d 69 66 20 69 |nto gXEr|ror.if i|
|00004be0| 74 3d 22 43 6f 6e 74 69 | 6e 75 65 22 20 74 68 65 |t="Conti|nue" the|
|00004bf0| 6e 20 52 45 54 55 52 4e | 20 74 72 75 65 20 2d 2d |n RETURN| true --|
|00004c00| 20 63 6f 6e 74 69 6e 75 | 65 20 77 69 74 68 69 6e | continu|e within|
|00004c10| 20 65 78 74 65 72 6e 61 | 6c 0d 69 66 20 67 45 72 | externa|l.if gEr|
|00004c20| 72 4b 69 6c 6c 3d 74 72 | 75 65 20 74 68 65 6e 20 |rKill=tr|ue then |
|00004c30| 52 45 54 55 52 4e 20 65 | 6d 70 74 79 20 2d 2d 20 |RETURN e|mpty -- |
|00004c40| 65 78 69 74 20 65 78 74 | 65 72 6e 61 6c 20 61 6e |exit ext|ernal an|
|00004c50| 64 20 61 62 6f 72 74 20 | 68 79 70 65 72 54 61 6c |d abort |hyperTal|
|00004c60| 6b 0d 65 6e 64 20 69 66 | 0d 52 45 54 55 52 4e 20 |k.end if|.RETURN |
|00004c70| 66 61 6c 73 65 20 2d 2d | 20 65 78 69 74 20 65 78 |false --| exit ex|
|00004c80| 74 65 72 6e 61 6c 20 62 | 75 74 20 63 6f 6e 74 69 |ternal b|ut conti|
|00004c90| 6e 75 65 20 68 79 70 65 | 72 54 61 6c 6b 0d 65 6e |nue hype|rTalk.en|
|00004ca0| 64 20 74 65 73 74 58 45 | 72 72 6f 72 0d 0d 2d 2d |d testXE|rror..--|
|00004cb0| 2d 2d 20 68 61 6e 64 79 | 20 62 75 62 62 6c 65 20 |-- handy| bubble |
|00004cc0| 74 65 73 74 69 6e 67 20 | 74 6f 6f 6c 73 0d 0d 6f |testing |tools..o|
|00004cd0| 6e 20 70 67 6d 72 0d 67 | 65 74 20 22 65 64 69 74 |n pgmr.g|et "edit|
|00004ce0| 48 65 6c 70 20 30 2e 39 | 22 0d 70 75 73 68 20 63 |Help 0.9|".push c|
|00004cf0| 61 72 64 0d 69 66 20 22 | 65 64 69 74 48 65 6c 70 |ard.if "|editHelp|
|00004d00| 20 30 2e 39 22 20 69 73 | 20 4e 4f 54 20 69 6e 20 | 0.9" is| NOT in |
|00004d10| 74 68 65 20 77 69 6e 64 | 6f 77 73 0d 74 68 65 6e |the wind|ows.then|
|00004d20| 20 67 6f 20 74 6f 20 73 | 74 61 63 6b 20 69 74 20 | go to s|tack it |
|00004d30| 69 6e 20 61 20 6e 65 77 | 20 77 69 6e 64 6f 77 20 |in a new| window |
|00004d40| 2d 2d 20 70 61 74 63 68 | 20 62 33 39 20 62 75 67 |-- patch| b39 bug|
|00004d50| 0d 73 74 61 72 74 20 75 | 73 69 6e 67 20 73 74 61 |.start u|sing sta|
|00004d60| 63 6b 20 69 74 0d 70 6f | 70 20 63 61 72 64 0d 73 |ck it.po|p card.s|
|00004d70| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|00004d80| 20 74 6f 20 35 0d 65 6e | 64 20 70 67 6d 72 0d 0d | to 5.en|d pgmr..|
|00004d90| 6f 6e 20 75 73 65 72 0d | 73 65 74 20 74 68 65 20 |on user.|set the |
|00004da0| 75 73 65 72 4c 65 76 65 | 6c 20 74 6f 20 32 0d 73 |userLeve|l to 2.s|
|00004db0| 74 6f 70 20 75 73 69 6e | 67 20 73 74 61 63 6b 20 |top usin|g stack |
|00004dc0| 22 65 64 69 74 48 65 6c | 70 20 30 2e 39 22 0d 65 |"editHel|p 0.9".e|
|00004dd0| 6e 64 20 75 73 65 72 0d | 0d a5 a5 20 49 6e 74 65 |nd user.|... Inte|
|00004de0| 72 6e 61 6c 20 55 74 69 | 6c 69 74 79 20 a5 a5 20 |rnal Uti|lity .. |
|00004df0| 28 63 61 6c 6c 65 64 20 | 62 79 20 63 6f 64 65 29 |(called |by code)|
|00004e00| 0d 0d 6f 6e 20 61 70 70 | 49 73 52 75 6e 6e 69 6e |..on app|IsRunnin|
|00004e10| 67 20 63 75 72 41 70 70 | 0d 67 6c 6f 62 61 6c 20 |g curApp|.global |
|00004e20| 74 68 65 44 65 6d 6f 41 | 70 70 2c 74 68 65 53 79 |theDemoA|pp,theSy|
|00004e30| 73 0d 77 61 69 74 20 75 | 6e 74 69 6c 20 4e 4f 54 |s.wait u|ntil NOT|
|00004e40| 20 74 68 65 20 73 75 73 | 70 65 6e 64 65 64 0d 69 | the sus|pended.i|
|00004e50| 66 20 74 68 65 53 79 73 | 20 3c 20 37 20 74 68 65 |f theSys| < 7 the|
|00004e60| 6e 20 67 65 74 20 74 68 | 65 72 65 20 69 73 20 61 |n get th|ere is a|
|00004e70| 20 6d 65 6e 75 49 74 65 | 6d 20 74 68 65 44 65 6d | menuIte|m theDem|
|00004e80| 6f 41 70 70 20 6f 66 20 | 74 68 65 20 66 69 72 73 |oApp of |the firs|
|00004e90| 74 20 6d 65 6e 75 0d 65 | 6c 73 65 20 67 65 74 20 |t menu.e|lse get |
|00004ea0| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 49 |there is| a menuI|
|00004eb0| 74 65 6d 20 74 68 65 44 | 65 6d 6f 41 70 70 20 6f |tem theD|emoApp o|
|00004ec0| 66 20 74 68 65 20 6c 61 | 73 74 20 6d 65 6e 75 0d |f the la|st menu.|
|00004ed0| 69 66 20 4e 4f 54 20 69 | 74 20 74 68 65 6e 0d 70 |if NOT i|t then.p|
|00004ee0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 68 |ut empty| into th|
|00004ef0| 65 44 65 6d 6f 41 70 70 | 0d 65 78 69 74 20 61 70 |eDemoApp|.exit ap|
|00004f00| 70 49 73 52 75 6e 6e 69 | 6e 67 0d 65 6e 64 20 69 |pIsRunni|ng.end i|
|00004f10| 66 0d 69 66 20 63 75 72 | 41 70 70 20 ad 20 74 68 |f.if cur|App . th|
|00004f20| 65 44 65 6d 6f 41 70 70 | 20 74 68 65 6e 0d 67 65 |eDemoApp| then.ge|
|00004f30| 74 20 22 54 6f 20 63 6f | 6e 74 69 6e 75 65 20 73 |t "To co|ntinue s|
|00004f40| 61 66 65 6c 79 2c 20 66 | 69 72 73 74 20 71 75 69 |afely, f|irst qui|
|00004f50| 74 20 79 6f 75 72 20 6c | 61 73 74 20 64 65 6d 6f |t your l|ast demo|
|00004f60| 2c 20 22 20 26 20 74 68 | 65 44 65 6d 6f 41 70 70 |, " & th|eDemoApp|
|00004f70| 0d 41 6e 73 77 65 72 20 | 69 74 20 26 20 22 2c 20 |.Answer |it & ", |
|00004f80| 70 6c 65 61 73 65 2e 22 | 20 2d 2d 20 77 69 74 68 |please."| -- with|
|00004f90| 20 22 4e 65 76 65 72 20 | 6d 69 6e 64 22 20 6f 72 | "Never |mind" or|
|00004fa0| 20 22 4f 4b 22 0d 73 65 | 6e 64 20 22 64 6f 4d 65 | "OK".se|nd "doMe|
|00004fb0| 6e 75 22 26 26 20 74 68 | 65 44 65 6d 6f 41 70 70 |nu"&& th|eDemoApp|
|00004fc0| 20 74 6f 20 68 79 70 65 | 72 63 61 72 64 0d 65 6e | to hype|rcard.en|
|00004fd0| 64 20 69 66 0d 65 6e 64 | 20 61 70 70 49 73 52 75 |d if.end| appIsRu|
|00004fe0| 6e 6e 69 6e 67 0d 0d 6f | 6e 20 61 72 72 6f 77 4b |nning..o|n arrowK|
|00004ff0| 65 79 0d 69 66 20 74 68 | 65 20 75 73 65 72 4c 65 |ey.if th|e userLe|
|00005000| 76 65 6c 20 3d 20 35 20 | 74 68 65 6e 20 70 61 73 |vel = 5 |then pas|
|00005010| 73 20 61 72 72 6f 77 4b | 65 79 0d 65 6e 64 20 61 |s arrowK|ey.end a|
|00005020| 72 72 6f 77 4b 65 79 0d | 0d 66 75 6e 63 74 69 6f |rrowKey.|.functio|
|00005030| 6e 20 63 61 6e 51 75 69 | 74 0d 67 6c 6f 62 61 6c |n canQui|t.global|
|00005040| 20 74 68 65 46 51 75 69 | 74 74 69 6e 67 2c 20 75 | theFQui|tting, u|
|00005050| 73 65 72 4e 61 6d 65 0d | 0d 49 46 20 74 68 65 46 |serName.|.IF theF|
|00005060| 51 75 69 74 74 69 6e 67 | 20 69 73 20 65 6d 70 74 |Quitting| is empt|
|00005070| 79 20 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 74 |y then |return t|
|00005080| 72 75 65 0d 69 66 20 74 | 68 65 46 51 75 69 74 74 |rue.if t|heFQuitt|
|00005090| 69 6e 67 20 4f 52 20 c2 | 0d 74 68 65 20 73 68 69 |ing OR .|.the shi|
|000050a0| 66 74 4b 65 79 20 69 73 | 20 64 6f 77 6e 20 4f 52 |ftKey is| down OR|
|000050b0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|000050c0| 73 20 64 6f 77 6e 20 c2 | 0d 6f 72 20 22 69 6b 61 |s down .|.or "ika|
|000050d0| 72 20 6b 6f 7a 61 6b 20 | 6d 61 72 6b 20 73 61 66 |r kozak |mark saf|
|000050e0| 69 72 65 20 7a 70 77 6b | 22 20 63 6f 6e 74 61 69 |ire zpwk|" contai|
|000050f0| 6e 73 20 75 73 65 72 4e | 61 6d 65 0d 54 48 45 4e |ns userN|ame.THEN|
|00005100| 20 52 45 54 55 52 4e 20 | 54 52 55 45 0d 45 4c 53 | RETURN |TRUE.ELS|
|00005110| 45 20 52 45 54 55 52 4e | 20 46 41 4c 53 45 0d 65 |E RETURN| FALSE.e|
|00005120| 6e 64 20 63 61 6e 51 75 | 69 74 0d 0d 66 75 6e 63 |nd canQu|it..func|
|00005130| 74 69 6f 6e 20 63 61 6e | 74 4d 6f 64 0d 2d 2d 20 |tion can|tMod.-- |
|00005140| 33 2f 31 32 0d 67 6c 6f | 62 61 6c 20 74 68 65 46 |3/12.glo|bal theF|
|00005150| 43 61 6e 74 4d 6f 64 0d | 70 75 74 20 66 61 6c 73 |CantMod.|put fals|
|00005160| 65 20 69 6e 74 6f 20 74 | 68 65 46 43 61 6e 74 4d |e into t|heFCantM|
|00005170| 6f 64 0d 52 45 54 55 52 | 4e 20 28 28 74 68 65 20 |od.RETUR|N ((the |
|00005180| 63 61 6e 74 4d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantModi|fy of th|
|00005190| 69 73 20 73 74 61 63 6b | 29 20 4f 52 20 74 68 65 |is stack|) OR the|
|000051a0| 46 43 61 6e 74 4d 6f 64 | 29 0d 65 6e 64 20 63 61 |FCantMod|).end ca|
|000051b0| 6e 74 4d 6f 64 0d 0d 6f | 6e 20 63 68 65 63 6b 4d |ntMod..o|n checkM|
|000051c0| 65 6d 0d 67 6c 6f 62 61 | 6c 20 74 68 65 53 79 73 |em.globa|l theSys|
|000051d0| 2c 65 72 72 47 6c 6f 62 | 61 6c 2c 74 68 65 45 72 |,errGlob|al,theEr|
|000051e0| 72 6f 72 73 0d 70 75 74 | 20 32 35 30 30 30 30 20 |rors.put| 250000 |
|000051f0| 69 6e 74 6f 20 6d 69 6e | 4d 65 6d 0d 69 66 20 74 |into min|Mem.if t|
|00005200| 68 65 20 68 65 61 70 73 | 70 61 63 65 20 3e 20 6d |he heaps|pace > m|
|00005210| 69 6e 4d 65 6d 20 74 68 | 65 6e 20 65 78 69 74 20 |inMem th|en exit |
|00005220| 63 68 65 63 6b 4d 65 6d | 0d 0d 2d 2d 20 53 79 73 |checkMem|..-- Sys|
|00005230| 74 65 6d 20 37 20 69 73 | 20 6e 6f 74 20 63 61 6c |tem 7 is| not cal|
|00005240| 6c 65 64 20 22 4d 75 6c | 74 69 66 69 6e 64 65 72 |led "Mul|tifinder|
|00005250| 22 0d 69 66 20 74 68 65 | 53 79 73 20 b3 20 37 20 |".if the|Sys . 7 |
|00005260| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 53 6f 72 |then.ans|wer "Sor|
|00005270| 72 79 2c 20 79 6f 75 20 | 6e 65 65 64 20 61 20 48 |ry, you |need a H|
|00005280| 79 70 65 72 43 61 72 64 | 20 70 61 72 74 69 74 69 |yperCard| partiti|
|00005290| 6f 6e 20 6f 66 20 61 74 | 20 6c 65 61 73 74 20 31 |on of at| least 1|
|000052a0| 35 30 30 4b 20 66 6f 72 | 20 65 6e 68 61 6e 63 65 |500K for| enhance|
|000052b0| 64 20 73 65 61 72 63 68 | 69 6e 67 20 61 6e 64 20 |d search|ing and |
|000052c0| 66 6f 72 20 70 6c 61 79 | 69 6e 67 20 6d 6f 76 69 |for play|ing movi|
|000052d0| 65 73 2e 22 0d 65 6c 73 | 65 0d 2d 2d 20 69 73 20 |es.".els|e.-- is |
|000052e0| 4d 75 6c 74 69 66 69 6e | 64 65 72 20 72 75 6e 6e |Multifin|der runn|
|000052f0| 69 6e 67 3f 0d 70 75 74 | 20 4d 46 49 73 52 75 6e |ing?.put| MFIsRun|
|00005300| 6e 69 6e 67 28 22 6e 6f | 44 69 61 6c 6f 67 3a 65 |ning("no|Dialog:e|
|00005310| 72 72 47 6c 6f 62 61 6c | 22 29 20 69 6e 74 6f 20 |rrGlobal|") into |
|00005320| 4d 46 41 63 74 69 76 65 | 0d 69 66 20 65 72 72 47 |MFActive|.if errG|
|00005330| 6c 6f 62 61 6c 20 ad 20 | 65 6d 70 74 79 20 74 68 |lobal . |empty th|
|00005340| 65 6e 0d 70 75 74 20 72 | 65 74 75 72 6e 26 22 45 |en.put r|eturn&"E|
|00005350| 72 72 6f 72 3a 20 d2 22 | 20 26 20 65 72 72 47 6c |rror: ."| & errGl|
|00005360| 6f 62 61 6c 20 26 20 22 | d3 22 20 61 66 74 65 72 |obal & "|." after|
|00005370| 20 74 68 65 45 72 72 6f | 72 73 0d 70 75 74 20 65 | theErro|rs.put e|
|00005380| 6d 70 74 79 20 69 6e 74 | 6f 20 65 72 72 47 6c 6f |mpty int|o errGlo|
|00005390| 62 61 6c 0d 70 75 74 20 | 46 41 4c 53 45 20 69 6e |bal.put |FALSE in|
|000053a0| 74 6f 20 4d 46 41 63 74 | 69 76 65 0d 65 6e 64 20 |to MFAct|ive.end |
|000053b0| 69 66 0d 0d 69 66 20 4d | 46 41 63 74 69 76 65 20 |if..if M|FActive |
|000053c0| 74 68 65 6e 0d 2d 2d 20 | 6e 6f 74 20 65 6e 6f 75 |then.-- |not enou|
|000053d0| 67 68 20 69 6e 20 70 61 | 72 74 69 74 69 6f 6e 0d |gh in pa|rtition.|
|000053e0| 41 6e 73 77 65 72 20 22 | 53 6f 72 72 79 2c 20 79 |Answer "|Sorry, y|
|000053f0| 6f 75 20 6e 65 65 64 20 | 61 20 48 79 70 65 72 43 |ou need |a HyperC|
|00005400| 61 72 64 20 70 61 72 74 | 69 74 69 6f 6e 20 6f 66 |ard part|ition of|
|00005410| 20 61 74 20 6c 65 61 73 | 74 20 31 35 30 30 4b 20 | at leas|t 1500K |
|00005420| 66 6f 72 20 65 6e 68 61 | 6e 63 65 64 20 73 65 61 |for enha|nced sea|
|00005430| 72 63 68 69 6e 67 20 61 | 6e 64 20 66 6f 72 20 70 |rching a|nd for p|
|00005440| 6c 61 79 69 6e 67 20 6d | 6f 76 69 65 73 2e 22 0d |laying m|ovies.".|
|00005450| 65 6c 73 65 0d 2d 2d 20 | 6e 6f 74 20 65 6e 6f 75 |else.-- |not enou|
|00005460| 67 68 20 6d 65 6d 6f 72 | 79 20 69 6e 20 6d 61 63 |gh memor|y in mac|
|00005470| 68 69 6e 65 0d 61 6e 73 | 77 65 72 20 22 53 6f 72 |hine.ans|wer "Sor|
|00005480| 72 79 2c 20 6e 6f 74 20 | 65 6e 6f 75 67 68 20 52 |ry, not |enough R|
|00005490| 41 4d 20 6d 65 6d 6f 72 | 79 20 66 6f 72 20 61 64 |AM memor|y for ad|
|000054a0| 76 61 6e 63 65 64 20 73 | 65 61 72 63 68 69 6e 67 |vanced s|earching|
|000054b0| 20 6f 72 20 66 6f 72 20 | 70 6c 61 79 69 6e 67 20 | or for |playing |
|000054c0| 6d 6f 76 69 65 73 2e 22 | 0d 65 6e 64 20 69 66 0d |movies."|.end if.|
|000054d0| 0d 65 6e 64 20 69 66 0d | 65 78 69 74 20 74 6f 20 |.end if.|exit to |
|000054e0| 68 79 70 65 72 63 61 72 | 64 20 2d 2d 20 61 6c 6c |hypercar|d -- all|
|000054f0| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 74 68 61 74 | conditi|ons that|
|00005500| 20 64 69 64 20 6e 6f 74 | 20 65 78 69 74 20 61 74 | did not| exit at|
|00005510| 20 74 6f 70 20 61 72 65 | 20 65 72 72 73 2e 0d 65 | top are| errs..e|
|00005520| 6e 64 20 63 68 65 63 6b | 4d 65 6d 0d 0d 6f 6e 20 |nd check|Mem..on |
|00005530| 65 6d 70 74 79 49 44 73 | 0d 67 6c 6f 62 61 6c 20 |emptyIDs|.global |
|00005540| 74 68 65 54 6f 70 69 63 | 49 44 73 2c 74 68 65 47 |theTopic|IDs,theG|
|00005550| 72 61 64 65 49 44 73 2c | 74 68 65 50 75 62 49 44 |radeIDs,|thePubID|
|00005560| 73 2c 74 68 65 52 65 71 | 49 44 73 2c 74 68 65 4b |s,theReq|IDs,theK|
|00005570| 65 79 49 44 73 2c 74 68 | 65 57 6f 72 64 49 44 73 |eyIDs,th|eWordIDs|
|00005580| 0d 67 65 74 20 22 74 68 | 65 54 6f 70 69 63 49 44 |.get "th|eTopicID|
|00005590| 73 2c 74 68 65 47 72 61 | 64 65 49 44 73 2c 74 68 |s,theGra|deIDs,th|
|000055a0| 65 50 75 62 49 44 73 2c | 74 68 65 52 65 71 49 44 |ePubIDs,|theReqID|
|000055b0| 73 2c 74 68 65 4b 65 79 | 49 44 73 2c 74 68 65 57 |s,theKey|IDs,theW|
|000055c0| 6f 72 64 49 44 73 22 0d | 72 65 70 65 61 74 20 77 |ordIDs".|repeat w|
|000055d0| 69 74 68 20 63 74 20 3d | 20 31 20 74 6f 20 36 0d |ith ct =| 1 to 6.|
|000055e0| 64 6f 20 22 70 75 74 20 | 65 6d 70 74 79 20 69 6e |do "put |empty in|
|000055f0| 74 6f 20 22 20 26 20 69 | 74 65 6d 20 63 74 20 6f |to " & i|tem ct o|
|00005600| 66 20 69 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |f it.end| repeat.|
|00005610| 65 6e 64 20 65 6d 70 74 | 79 49 44 73 0d 0d 66 75 |end empt|yIDs..fu|
|00005620| 6e 63 74 69 6f 6e 20 66 | 69 6c 65 4e 61 6d 65 20 |nction f|ileName |
|00005630| 73 74 72 69 6e 67 0d 72 | 65 70 65 61 74 0d 67 65 |string.r|epeat.ge|
|00005640| 74 20 6f 66 66 73 65 74 | 28 22 3a 22 2c 73 74 72 |t offset|(":",str|
|00005650| 69 6e 67 29 0d 69 66 20 | 69 74 20 ad 20 22 30 22 |ing).if |it . "0"|
|00005660| 20 74 68 65 6e 0d 64 65 | 6c 65 74 65 20 63 68 61 | then.de|lete cha|
|00005670| 72 20 31 20 74 6f 20 69 | 74 20 6f 66 20 73 74 72 |r 1 to i|t of str|
|00005680| 69 6e 67 0d 65 6c 73 65 | 20 52 45 54 55 52 4e 20 |ing.else| RETURN |
|00005690| 73 74 72 69 6e 67 0d 65 | 6e 64 20 72 65 70 65 61 |string.e|nd repea|
|000056a0| 74 0d 65 6e 64 20 66 69 | 6c 65 4e 61 6d 65 0d 0d |t.end fi|leName..|
|000056b0| 66 75 6e 63 74 69 6f 6e | 20 66 69 6e 64 46 69 6c |function| findFil|
|000056c0| 65 20 78 0d 2d 2d 20 70 | 61 74 68 20 61 6e 64 20 |e x.-- p|ath and |
|000056d0| 63 64 20 6e 61 6d 65 73 | 20 69 6e 69 74 69 61 6c |cd names| initial|
|000056e0| 69 7a 65 64 20 61 74 20 | 6f 70 65 6e 53 74 61 63 |ized at |openStac|
|000056f0| 6b 2e 0d 67 6c 6f 62 61 | 6c 20 74 68 65 50 61 74 |k..globa|l thePat|
|00005700| 68 2c 74 68 65 43 44 0d | 69 66 20 74 68 65 72 65 |h,theCD.|if there|
|00005710| 20 69 73 20 61 20 66 69 | 6c 65 20 74 68 65 50 61 | is a fi|le thePa|
|00005720| 74 68 26 78 20 74 68 65 | 6e 20 52 45 54 55 52 4e |th&x the|n RETURN|
|00005730| 20 74 68 65 50 61 74 68 | 26 78 0d 69 66 20 74 68 | thePath|&x.if th|
|00005740| 65 72 65 20 69 73 20 61 | 20 66 69 6c 65 20 74 68 |ere is a| file th|
|00005750| 65 43 44 26 78 20 74 68 | 65 6e 20 52 45 54 55 52 |eCD&x th|en RETUR|
|00005760| 4e 20 74 68 65 43 44 26 | 78 0d 67 6c 6f 62 61 6c |N theCD&|x.global|
|00005770| 20 74 68 65 45 72 72 6f | 72 73 0d 70 75 74 20 72 | theErro|rs.put r|
|00005780| 65 74 75 72 6e 20 26 20 | 22 66 69 6e 64 46 69 6c |eturn & |"findFil|
|00005790| 65 3a 20 63 61 6e 27 74 | 20 66 69 6e 64 22 26 26 |e: can't| find"&&|
|000057a0| 20 78 20 61 66 74 65 72 | 20 74 68 65 45 72 72 6f | x after| theErro|
|000057b0| 72 73 0d 52 45 54 55 52 | 4e 20 65 6d 70 74 79 0d |rs.RETUR|N empty.|
|000057c0| 65 6e 64 20 66 69 6e 64 | 46 69 6c 65 0d 0d 6f 6e |end find|File..on|
|000057d0| 20 69 6e 69 74 54 69 6d | 65 4f 75 74 0d 67 6c 6f | initTim|eOut.glo|
|000057e0| 62 61 6c 20 74 68 65 43 | 75 72 54 69 6d 65 0d 69 |bal theC|urTime.i|
|000057f0| 66 20 74 68 65 43 75 72 | 54 69 6d 65 20 ad 20 30 |f theCur|Time . 0|
|00005800| 20 74 68 65 6e 20 70 75 | 74 20 31 20 69 6e 74 6f | then pu|t 1 into|
|00005810| 20 74 68 65 43 75 72 54 | 69 6d 65 20 2d 2d 20 72 | theCurT|ime -- r|
|00005820| 65 73 65 74 20 74 68 65 | 20 74 69 6d 65 72 0d 65 |eset the| timer.e|
|00005830| 6e 64 20 69 6e 69 74 54 | 69 6d 65 4f 75 74 0d 0d |nd initT|imeOut..|
|00005840| 6f 6e 20 6c 6f 63 6b 45 | 6e 76 0d 73 65 74 20 6c |on lockE|nv.set l|
|00005850| 6f 63 6b 4d 65 73 73 61 | 67 65 73 20 74 6f 20 74 |ockMessa|ges to t|
|00005860| 72 75 65 0d 73 65 74 20 | 6c 6f 63 6b 52 65 63 65 |rue.set |lockRece|
|00005870| 6e 74 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 6c |nt to tr|ue.set l|
|00005880| 6f 63 4b 53 63 72 65 65 | 6e 20 74 6f 20 74 72 75 |ocKScree|n to tru|
|00005890| 65 0d 65 6e 64 20 6c 6f | 63 6b 45 6e 76 0d 0d 6f |e.end lo|ckEnv..o|
|000058a0| 6e 20 6d 6f 76 65 57 69 | 6e 64 6f 77 0d 67 6c 6f |n moveWi|ndow.glo|
|000058b0| 62 61 6c 20 70 61 6c 50 | 6f 73 2c 73 61 66 4e 61 |bal palP|os,safNa|
|000058c0| 76 2c 54 6f 70 42 61 72 | 2c 42 6f 74 42 61 72 2c |v,TopBar|,BotBar,|
|000058d0| 4d 69 64 42 61 72 0d 69 | 66 20 74 68 65 72 65 20 |MidBar.i|f there |
|000058e0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 73 61 66 4e |is a win|dow safN|
|000058f0| 61 76 20 74 68 65 6e 20 | 50 61 6c 65 74 74 65 20 |av then |Palette |
|00005900| 53 61 66 4e 61 76 2c 50 | 61 6c 50 6f 73 0d 69 66 |SafNav,P|alPos.if|
|00005910| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005920| 6f 77 20 54 6f 70 42 61 | 72 20 74 68 65 6e 20 73 |ow TopBa|r then s|
|00005930| 65 74 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 77 |et the r|ect of w|
|00005940| 69 6e 64 6f 77 20 74 6f | 70 62 61 72 20 74 6f 20 |indow to|pbar to |
|00005950| 22 32 39 2c 30 2c 34 38 | 36 2c 31 36 22 0d 69 66 |"29,0,48|6,16".if|
|00005960| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005970| 6f 77 20 42 6f 74 42 61 | 72 20 74 68 65 6e 20 73 |ow BotBa|r then s|
|00005980| 65 74 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 77 |et the r|ect of w|
|00005990| 69 6e 64 6f 77 20 6d 69 | 64 62 61 72 20 74 6f 20 |indow mi|dbar to |
|000059a0| 22 32 39 2c 38 31 2c 34 | 38 36 2c 39 38 22 0d 69 |"29,81,4|86,98".i|
|000059b0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|000059c0| 64 6f 77 20 4d 69 64 42 | 61 72 20 74 68 65 6e 20 |dow MidB|ar then |
|000059d0| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|000059e0| 77 69 6e 64 6f 77 20 62 | 6f 74 62 61 72 20 74 6f |window b|otbar to|
|000059f0| 20 22 32 39 2c 34 36 35 | 2c 34 38 36 2c 34 38 30 | "29,465|,486,480|
|00005a00| 22 0d 65 6e 64 20 6d 6f | 76 65 57 69 6e 64 6f 77 |".end mo|veWindow|
|00005a10| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 70 61 74 68 4e |..functi|on pathN|
|00005a20| 61 6d 65 0d 67 65 74 20 | 74 68 65 20 6c 6f 6e 67 |ame.get |the long|
|00005a30| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00005a40| 61 63 6b 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |ack.dele|te char |
|00005a50| 31 20 74 6f 20 37 20 6f | 66 20 69 74 0d 72 65 70 |1 to 7 o|f it.rep|
|00005a60| 65 61 74 20 75 6e 74 69 | 6c 20 6c 61 73 74 20 63 |eat unti|l last c|
|00005a70| 68 61 72 20 6f 66 20 69 | 74 20 69 73 20 22 3a 22 |har of i|t is ":"|
|00005a80| 0d 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 |.delete |last cha|
|00005a90| 72 20 6f 66 20 69 74 0d | 65 6e 64 20 72 65 70 65 |r of it.|end repe|
|00005aa0| 61 74 0d 52 45 54 55 52 | 4e 20 49 54 0d 65 6e 64 |at.RETUR|N IT.end|
|00005ab0| 20 70 61 74 68 4e 61 6d | 65 0d 0d 6f 6e 20 70 6f | pathNam|e..on po|
|00005ac0| 70 50 6f 70 73 20 61 42 | 65 67 69 6e 43 61 72 64 |pPops aB|eginCard|
|00005ad0| 0d 2d 2d 20 2a 2a 2a 20 | 6e 6f 74 20 67 65 74 74 |.-- *** |not gett|
|00005ae0| 69 6e 67 20 61 42 65 67 | 69 6e 43 61 72 64 20 77 |ing aBeg|inCard w|
|00005af0| 68 65 6e 20 73 65 61 72 | 63 68 20 66 61 69 6c 73 |hen sear|ch fails|
|00005b00| 0d 67 6c 6f 62 61 6c 20 | 74 68 65 48 6f 6d 65 43 |.global |theHomeC|
|00005b10| 61 72 64 0d 2d 2d 20 45 | 6d 70 74 69 65 73 20 70 |ard.-- E|mpties p|
|00005b20| 75 73 68 65 64 20 63 61 | 72 64 73 20 66 72 6f 6d |ushed ca|rds from|
|00005b30| 20 74 68 65 20 70 6f 70 | 70 65 72 0d 72 65 70 65 | the pop|per.repe|
|00005b40| 61 74 0d 70 6f 70 20 63 | 64 20 69 6e 74 6f 20 61 |at.pop c|d into a|
|00005b50| 50 6f 70 0d 69 66 20 61 | 50 6f 70 20 63 6f 6e 74 |Pop.if a|Pop cont|
|00005b60| 61 69 6e 73 20 22 3a 48 | 6f 6d 65 22 20 74 68 65 |ains ":H|ome" the|
|00005b70| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en|
|00005b80| 64 20 72 65 70 65 61 74 | 0d 2d 2d 20 69 66 20 61 |d repeat|.-- if a|
|00005b90| 50 6f 70 20 3d 20 61 42 | 65 67 69 6e 43 61 72 64 |Pop = aB|eginCard|
|00005ba0| 20 4f 52 20 61 50 6f 70 | 20 63 6f 6e 74 61 69 6e | OR aPop| contain|
|00005bb0| 73 20 22 3a 48 6f 6d 65 | 22 20 26 20 71 75 6f 74 |s ":Home|" & quot|
|00005bc0| 65 0d 2d 2d 20 74 68 65 | 6e 20 65 78 69 74 20 72 |e.-- the|n exit r|
|00005bd0| 65 70 65 61 74 0d 65 6e | 64 20 70 6f 70 50 6f 70 |epeat.en|d popPop|
|00005be0| 73 0d 0d 6f 6e 20 73 61 | 76 65 55 4c 20 62 6f 6f |s..on sa|veUL boo|
|00005bf0| 6c 65 0d 67 6c 6f 62 61 | 6c 20 74 68 65 55 4c 65 |le.globa|l theULe|
|00005c00| 76 65 6c 0d 69 66 20 62 | 6f 6f 6c 65 20 74 68 65 |vel.if b|oole the|
|00005c10| 6e 0d 70 75 74 20 74 68 | 65 20 75 73 65 72 4c 65 |n.put th|e userLe|
|00005c20| 76 65 6c 20 69 6e 74 6f | 20 74 68 65 55 4c 65 76 |vel into| theULev|
|00005c30| 65 6c 0d 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |el.set t|he userL|
|00005c40| 65 76 65 6c 20 74 6f 20 | 32 0d 65 6c 73 65 20 69 |evel to |2.else i|
|00005c50| 66 20 74 68 65 55 4c 65 | 76 65 6c 20 69 73 20 6e |f theULe|vel is n|
|00005c60| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 73 65 |ot empty| then se|
|00005c70| 74 20 74 68 65 20 75 73 | 65 72 4c 65 76 65 6c 20 |t the us|erLevel |
|00005c80| 74 6f 20 74 68 65 55 4c | 65 76 65 6c 0d 65 6e 64 |to theUL|evel.end|
|00005c90| 20 73 61 76 65 55 4c 0d | 0d 6f 6e 20 73 65 74 43 | saveUL.|.on setC|
|00005ca0| 6f 6c 6f 72 49 74 65 6d | 73 0d 73 65 6e 64 20 22 |olorItem|s.send "|
|00005cb0| 73 65 74 43 6f 6c 6f 72 | 22 20 74 6f 20 63 64 20 |setColor|" to cd |
|00005cc0| 31 0d 65 6e 64 20 73 65 | 74 43 6f 6c 6f 72 49 74 |1.end se|tColorIt|
|00005cd0| 65 6d 73 0d 0d 6f 6e 20 | 73 66 78 20 61 53 6f 75 |ems..on |sfx aSou|
|00005ce0| 6e 64 0d 67 6c 6f 62 61 | 6c 20 74 68 65 46 53 6f |nd.globa|l theFSo|
|00005cf0| 75 6e 64 0d 69 66 20 4e | 4f 54 20 74 68 65 46 53 |und.if N|OT theFS|
|00005d00| 6f 75 6e 64 20 74 68 65 | 6e 20 65 78 69 74 20 73 |ound the|n exit s|
|00005d10| 66 78 0d 65 6c 73 65 20 | 70 6c 61 79 20 61 53 6f |fx.else |play aSo|
|00005d20| 75 6e 64 0d 65 6e 64 20 | 73 66 78 0d 0d 6f 6e 20 |und.end |sfx..on |
|00005d30| 73 68 6f 77 57 69 6e 64 | 6f 77 73 20 66 53 68 6f |showWind|ows fSho|
|00005d40| 77 0d 67 6c 6f 62 61 6c | 20 63 6f 6c 6f 72 2c 74 |w.global| color,t|
|00005d50| 6f 70 42 61 72 2c 20 6d | 69 64 42 61 72 2c 20 62 |opBar, m|idBar, b|
|00005d60| 6f 74 42 61 72 0d 69 66 | 20 6e 6f 74 20 63 6f 6c |otBar.if| not col|
|00005d70| 6f 72 20 41 4e 44 20 74 | 6f 70 42 61 72 20 3d 20 |or AND t|opBar = |
|00005d80| 22 22 20 74 68 65 6e 20 | 65 78 69 74 20 73 68 6f |"" then |exit sho|
|00005d90| 77 57 69 6e 64 6f 77 73 | 20 2d 2d 2a 2a 2a 20 33 |wWindows| --*** 3|
|00005da0| 2f 32 35 0d 73 65 74 20 | 74 68 65 20 76 69 73 69 |/25.set |the visi|
|00005db0| 62 6c 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 74 6f |ble of w|indow to|
|00005dc0| 70 42 61 72 20 74 6f 20 | 66 53 68 6f 77 0d 73 65 |pBar to |fShow.se|
|00005dd0| 74 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |t the vi|sible of|
|00005de0| 20 77 69 6e 64 6f 77 20 | 6d 69 64 42 61 72 20 74 | window |midBar t|
|00005df0| 6f 20 66 53 68 6f 77 0d | 73 65 74 20 74 68 65 20 |o fShow.|set the |
|00005e00| 76 69 73 69 62 6c 65 20 | 6f 66 20 77 69 6e 64 6f |visible |of windo|
|00005e10| 77 20 62 6f 74 42 61 72 | 20 74 6f 20 66 53 68 6f |w botBar| to fSho|
|00005e20| 77 0d 65 6e 64 20 73 68 | 6f 77 57 69 6e 64 6f 77 |w.end sh|owWindow|
|00005e30| 73 0d 0d 6f 6e 20 73 74 | 6f 70 46 72 6f 6d 50 72 |s..on st|opFromPr|
|00005e40| 69 6e 74 69 6e 67 0d 41 | 6e 73 77 65 72 20 22 53 |inting.A|nswer "S|
|00005e50| 6f 72 72 79 2c 20 70 72 | 69 6e 74 69 6e 67 20 6e |orry, pr|inting n|
|00005e60| 6f 74 20 61 76 61 69 6c | 61 62 6c 65 20 6e 6f 77 |ot avail|able now|
|00005e70| 2e 22 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |.".exit |to Hyper|
|00005e80| 43 61 72 64 0d 65 6e 64 | 20 73 74 6f 70 46 72 6f |Card.end| stopFro|
|00005e90| 6d 50 72 69 6e 74 69 6e | 67 0d 0d 6f 6e 20 74 69 |mPrintin|g..on ti|
|00005ea0| 6d 65 6f 75 74 0d 73 65 | 6e 64 20 22 74 4f 75 74 |meout.se|nd "tOut|
|00005eb0| 22 20 74 6f 20 63 64 20 | 31 0d 65 6e 64 20 74 69 |" to cd |1.end ti|
|00005ec0| 6d 65 6f 75 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |meout..f|unction |
|00005ed0| 74 72 69 6d 4f 70 74 53 | 70 61 63 65 73 20 78 0d |trimOptS|paces x.|
|00005ee0| 2d 2d 20 6b 69 6c 6c 73 | 20 61 6e 79 20 70 74 72 |-- kills| any ptr|
|00005ef0| 73 20 74 6f 20 64 65 6c | 65 74 65 64 20 70 72 6f |s to del|eted pro|
|00005f00| 64 75 63 74 73 3b 0d 2d | 2d 20 74 68 65 69 72 20 |ducts;.-|- their |
|00005f10| 6e 61 6d 65 73 2c 20 6f | 70 74 69 6f 6e 2d 73 70 |names, o|ption-sp|
|00005f20| 61 63 65 73 2c 20 73 6f | 72 74 20 74 6f 20 62 6f |aces, so|rt to bo|
|00005f30| 74 74 6f 6d 0d 72 65 70 | 65 61 74 20 31 30 20 2d |ttom.rep|eat 10 -|
|00005f40| 2d 20 6f 6e 6c 79 20 37 | 20 70 6f 73 73 69 62 6c |- only 7| possibl|
|00005f50| 65 20 65 6e 74 72 69 65 | 73 0d 69 66 20 6c 61 73 |e entrie|s.if las|
|00005f60| 74 20 6c 69 6e 65 20 6f | 66 20 78 20 3d 20 22 ca |t line o|f x = ".|
|00005f70| 22 20 74 68 65 6e 0d 64 | 65 6c 65 74 65 20 6c 61 |" then.d|elete la|
|00005f80| 73 74 20 6c 69 6e 65 20 | 6f 66 20 78 20 2d 2d 20 |st line |of x -- |
|00005f90| 6f 70 74 20 73 70 61 63 | 65 0d 64 65 6c 65 74 65 |opt spac|e.delete|
|00005fa0| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 78 20 | last ch|ar of x |
|00005fb0| 2d 2d 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 |-- retur|n after |
|00005fc0| 70 72 65 76 20 6c 69 6e | 65 0d 64 65 6c 65 74 65 |prev lin|e.delete|
|00005fd0| 20 6c 61 73 74 20 69 74 | 65 6d 20 6f 66 20 6c 69 | last it|em of li|
|00005fe0| 6e 65 20 31 20 6f 66 20 | 78 20 2d 2d 20 70 74 72 |ne 1 of |x -- ptr|
|00005ff0| 0d 65 6c 73 65 20 72 65 | 74 75 72 6e 20 78 0d 65 |.else re|turn x.e|
|00006000| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 74 72 |nd repea|t.end tr|
|00006010| 69 6d 4f 70 74 53 70 61 | 63 65 73 0d 0d 66 75 6e |imOptSpa|ces..fun|
|00006020| 63 74 69 6f 6e 20 76 6f | 6c 4e 61 6d 65 0d 70 75 |ction vo|lName.pu|
|00006030| 74 20 74 68 65 20 6c 6f | 6e 67 20 6e 61 6d 65 20 |t the lo|ng name |
|00006040| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 69 6e |of this |stack in|
|00006050| 74 6f 20 76 6f 6c 0d 64 | 65 6c 65 74 65 20 63 68 |to vol.d|elete ch|
|00006060| 61 72 20 31 20 74 6f 20 | 37 20 6f 66 20 76 6f 6c |ar 1 to |7 of vol|
|00006070| 0d 67 65 74 20 6f 66 66 | 73 65 74 28 22 3a 22 2c |.get off|set(":",|
|00006080| 76 6f 6c 29 0d 69 66 20 | 69 74 20 3d 20 30 20 74 |vol).if |it = 0 t|
|00006090| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 68 79 70 65 |hen exit| to hype|
|000060a0| 72 63 61 72 64 0d 65 6c | 73 65 20 67 65 74 20 28 |rcard.el|se get (|
|000060b0| 63 68 61 72 20 31 20 74 | 6f 20 69 74 20 2d 20 31 |char 1 t|o it - 1|
|000060c0| 20 6f 66 20 76 6f 6c 29 | 0d 52 45 54 55 52 4e 20 | of vol)|.RETURN |
|000060d0| 49 54 0d 65 6e 64 20 76 | 6f 6c 4e 61 6d 65 0d 0d |IT.end v|olName..|
|000060e0| 6f 6e 20 63 6c 6f 73 65 | 55 70 0d 67 6c 6f 62 61 |on close|Up.globa|
|000060f0| 6c 20 73 61 66 4e 61 76 | 0d 69 66 20 74 68 65 72 |l safNav|.if ther|
|00006100| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 73 61 |e is a w|indow sa|
|00006110| 66 4e 61 76 20 74 68 65 | 6e 20 63 6c 6f 73 65 20 |fNav the|n close |
|00006120| 77 69 6e 64 6f 77 20 73 | 61 66 4e 61 76 0d 64 6f |window s|afNav.do|
|00006130| 42 61 72 73 20 66 61 6c | 73 65 0d 65 6e 64 20 63 |Bars fal|se.end c|
|00006140| 6c 6f 73 65 55 70 0d 0d | 6f 6e 20 64 6f 42 61 72 |loseUp..|on doBar|
|00006150| 73 20 70 31 0d 67 6c 6f | 62 61 6c 20 6d 69 64 42 |s p1.glo|bal midB|
|00006160| 61 72 2c 62 6f 74 42 61 | 72 2c 74 6f 70 42 61 72 |ar,botBa|r,topBar|
|00006170| 0d 69 66 20 70 31 20 74 | 68 65 6e 0d 70 75 74 20 |.if p1 t|hen.put |
|00006180| 22 62 69 67 54 6f 70 42 | 61 72 22 20 69 6e 74 6f |"bigTopB|ar" into|
|00006190| 20 54 6f 70 42 61 72 0d | 70 75 74 20 22 62 69 67 | TopBar.|put "big|
|000061a0| 4d 69 64 42 61 72 22 20 | 69 6e 74 6f 20 4d 69 64 |MidBar" |into Mid|
|000061b0| 42 61 72 0d 70 75 74 20 | 22 62 69 67 42 6f 74 42 |Bar.put |"bigBotB|
|000061c0| 61 72 22 20 69 6e 74 6f | 20 42 6f 74 42 61 72 0d |ar" into| BotBar.|
|000061d0| 50 69 63 74 75 72 65 20 | 54 6f 70 42 61 72 2c 72 |Picture |TopBar,r|
|000061e0| 65 73 6f 75 72 63 65 2c | 72 65 63 74 2c 66 61 6c |esource,|rect,fal|
|000061f0| 73 65 2c 30 0d 50 69 63 | 74 75 72 65 20 4d 69 64 |se,0.Pic|ture Mid|
|00006200| 42 61 72 2c 72 65 73 6f | 75 72 63 65 2c 72 65 63 |Bar,reso|urce,rec|
|00006210| 74 2c 66 61 6c 73 65 2c | 30 0d 50 69 63 74 75 72 |t,false,|0.Pictur|
|00006220| 65 20 42 6f 74 42 61 72 | 2c 72 65 73 6f 75 72 63 |e BotBar|,resourc|
|00006230| 65 2c 72 65 63 74 2c 66 | 61 6c 73 65 2c 30 0d 69 |e,rect,f|alse,0.i|
|00006240| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00006250| 65 6d 70 74 79 20 74 68 | 65 6e 0d 73 65 74 20 74 |empty th|en.set t|
|00006260| 68 65 20 72 65 63 74 20 | 6f 66 20 77 69 6e 64 6f |he rect |of windo|
|00006270| 77 20 74 6f 70 62 61 72 | 20 74 6f 20 22 32 39 2c |w topbar| to "29,|
|00006280| 30 2c 34 38 36 2c 31 36 | 22 0d 73 65 74 20 74 68 |0,486,16|".set th|
|00006290| 65 20 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |e rect o|f window|
|000062a0| 20 6d 69 64 62 61 72 20 | 74 6f 20 22 32 39 2c 38 | midbar |to "29,8|
|000062b0| 31 2c 34 38 36 2c 39 38 | 22 0d 73 65 74 20 74 68 |1,486,98|".set th|
|000062c0| 65 20 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |e rect o|f window|
|000062d0| 20 62 6f 74 62 61 72 20 | 74 6f 20 22 32 39 2c 34 | botbar |to "29,4|
|000062e0| 36 35 2c 34 38 36 2c 34 | 38 30 22 0d 73 68 6f 77 |65,486,4|80".show|
|000062f0| 20 77 69 6e 64 6f 77 20 | 54 6f 70 42 61 72 0d 73 | window |TopBar.s|
|00006300| 68 6f 77 20 77 69 6e 64 | 6f 77 20 4d 69 64 42 61 |how wind|ow MidBa|
|00006310| 72 0d 73 68 6f 77 20 77 | 69 6e 64 6f 77 20 42 6f |r.show w|indow Bo|
|00006320| 74 42 61 72 0d 65 6c 73 | 65 20 70 75 74 20 22 64 |tBar.els|e put "d|
|00006330| 6f 42 61 72 73 20 3e 20 | 22 20 26 20 74 68 65 20 |oBars > |" & the |
|00006340| 52 65 73 75 6c 74 20 61 | 66 74 65 72 20 74 68 65 |Result a|fter the|
|00006350| 45 72 72 6f 72 73 0d 65 | 6c 73 65 0d 69 66 20 74 |Errors.e|lse.if t|
|00006360| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|00006370| 20 4d 69 64 42 61 72 20 | 74 68 65 6e 20 63 6c 6f | MidBar |then clo|
|00006380| 73 65 20 77 69 6e 64 6f | 77 20 4d 69 64 42 61 72 |se windo|w MidBar|
|00006390| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|000063a0| 69 6e 64 6f 77 20 54 6f | 70 42 61 72 20 74 68 65 |indow To|pBar the|
|000063b0| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 54 |n close |window T|
|000063c0| 6f 70 42 61 72 0d 69 66 | 20 74 68 65 72 65 20 69 |opBar.if| there i|
|000063d0| 73 20 61 20 77 69 6e 64 | 6f 77 20 42 6f 74 42 61 |s a wind|ow BotBa|
|000063e0| 72 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |r then c|lose win|
|000063f0| 64 6f 77 20 42 6f 74 42 | 61 72 0d 65 6e 64 20 69 |dow BotB|ar.end i|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.